Skip to content

Commit

Permalink
files
Browse files Browse the repository at this point in the history
  • Loading branch information
rr637 committed Jan 17, 2025
1 parent 91f014a commit 45afb26
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

This repository contains the implementations, experiments, and results for our manuscript on **"Encoding Proteins as Quantum States with Approximate Quantum State Preparation by Iterated Sparse State Preparation"**

## Folders

- [**cpp/**](./cpp) contains C++ implementations of ISA, ADAPT-VQE, and AA-VQC.
- [**Protein_exp/**](./Protein_exp) contains protein experiments and QSP scripts.
- [**ISA_py/**](./ISA_py) contains Python implementation of ISA.
Expand Down
6 changes: 3 additions & 3 deletions cpp/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ISA, AA-VQC, and ADAPT-VQE Implementations

## Iterated Sparse Approximation Files
## Iterated Sparse Approximation
- **`isa_main.cpp/hpp`**: This is the main script for running the ISA algorithm.
- **`simulator.cpp/hpp`**: This file contains functions for simulating the application of quantum gates to quantum states.
- **`state_tracker.cpp/hpp`**: This file is a wrapper around **`simulator.cpp/hpp`** and implements the iterative merging step for ISA.
Expand All @@ -9,11 +9,11 @@
- **`greedy3.cpp/hpp`**: This file implements ISA for k=2.
- **`pattern.cpp/hpp`**: This file implements the pattern data structure.

## Alternating Ansatz - Variational Quantum Circuit Files
## Alternating Ansatz - Variational Quantum Circuit
- **`vqc.cpp/hpp`**: This file implements gradient descent for AA-VQC based on this paper: https://arxiv.org/abs/2011.06258.
- **`vqc_main.cpp/hpp`**: This is the main script for running the AA-VQC algorithm.

## Adaptive Derivative-Assembled Pseudo-Trotter ansatz Variational Quantum Ei gensolver Files
## Adaptive Derivative-Assembled Pseudo-Trotter ansatz Variational Quantum Eigensolver
- **`search.cpp/hpp`**: This file implements ADAPT-VQE based on this paper: https://www.nature.com/articles/s41467-019-10988-2.
- **`search_main.cpp/hpp`**: This is the main script for running the ADAPT-VQE algorithm.

Expand Down
2 changes: 0 additions & 2 deletions protein_exp/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Protein Experiments

Scripts for executing QSP implementations located in the `/cpp` directory and running protein experiments.

## Files
- **`isa_cpp_demo.py`**, **`search_cpp_demo.py`**, **`vqc_cpp_demo.py`**
These files are the scripts for the following QSP methods:
- **ISA (Iterated Sparse Approximation)**: `isa_cpp_demo.py`
Expand Down
3 changes: 1 addition & 2 deletions qiskit_simulations/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# qiskit_simulations

Files for ISA-based simulations on IBM devices.
Code for ISA simulations on IBM devices.

## Files
- **`noisy_simulation.py`**: This script prepares 100 random 5-qubit states using ISA. Fidelity thresholds are varied, and ideal fidelity, noisy fidelity, and CX counts are calculated per state. The noisy simulations use IBM FakeMelbourneV2. The results are compiled in `data_and_logs/Plots`.
- **`5_qubit_state.txt`**: This file stores randomly generated states to be inputted into ISA.

0 comments on commit 45afb26

Please sign in to comment.