QupepFold is a small, research-oriented toolkit that turns short amino-acid sequences into quantum bitstring encodings, optimizes them with a CVaR-VQE routine, and exports 3D PDB files (with CONECT records) for high-probability folds. It’s built to be easy to run, easy to inspect, and easy to tweak.
✨ Easy installation.
✨ Simple CLI usage.
✨ Get detailed outputs: Qubit mapping, best CVaR energy, probable bitstrings, and more!
✨ Visualize your results with optimal_circuit.png, cvar_scatter.png, and bitstring_histogram.png.
✨ Export 3D PDB files and summaries.
pip3 install qupepfold
pip3 install pylatexenc
qupepfold --seq APRLFHG --tries 30 --shots 1000 --alpha 0.025 --write-csv --out /path/to/output/directory
- Qubit mapping (config/interaction/ancilla counts)
- Best CVaR energy
- Most probable bitstring (with probability)
- Lowest-energy bitstring (with energy)
- output_summary.txt — quick result summary
- optimal_circuit.png — ansatz diagram (no measurements)
- cvar_scatter.png — CVaR value per multi-start iteration
- bitstring_histogram.png — bar chart for states ≥ threshol
- bitstring_summary.csv — [bitstring, cfg_bits, probability, energy, exported_PDB3D]
- bitstring_summary_cvar.csv — same distribution (kept for continuity)
- most_negative_energy_breakdown.png + .csv — component energies (backbone/MJ/distance/locality) for the lowest energy state
- pdb3d/*.pdb — one PDB per exported bitstring, with CONECT bonds
- pdb3d_bitstrings_ge_2pct.zip — bundle of those PDBs
pip3 uninstall qupepfold
- Akshay Uttarkar, Vidya Niranjan (2024). Quantum synergy in peptide folding: A comparative study of CVaR-variational quantum eigensolver and molecular dynamics simulation. International Journal of Biological Macromolecules. Volume 273, Part 1, 2024, 133033, ISSN 0141-8130, https://doi.org/10.1016/j.ijbiomac.2024.133033
- Uttarkar, A., Niranjan, V. A comparative insight into peptide folding with quantum CVaR-VQE algorithm, MD simulations and structural alphabet analysis. Quantum Inf Process 23, 48 (2024). https://doi.org/10.1007/s11128-024-04261-9
- A. Uttarkar and V. Niranjan, "Quantum Enabled Protein Folding of Disordered Regions in Ubiquitin C Via Error Mitigated VQE Benchmarked on Tensor Network Simulator and Aria 1," in IEEE Transactions on Molecular, Biological, and Multi-Scale Communications, doi: 10.1109/TMBMC.2025.3600516 https://ieeexplore.ieee.org/document/11130538
- A. Uttarkar, A. S. Setlur and V. Niranjan, "T-Gate Enabled Fault-Tolerant Ansatz Circuit Design for Variational Quantum Algorithms in Peptide Folding on Aria-1," 2024 International Conference on Artificial Intelligence and Emerging Technology (Global AI Summit), Greater Noida, India, 2024, pp. 1271-1276, doi: 10.1109/GlobalAISummit62156.2024.10947993 https://ieeexplore.ieee.org/document/10947993
- Rutwik S, A. Uttarkar, A. S. Setlur, A. B. H and V. Niranjan, "Exploring VQE for Ground State Energy Calculations of Small Molecules With Higher Bond Orders," 2024 International Conference on Artificial Intelligence and Emerging Technology (Global AI Summit), Greater Noida, India, 2024, pp. 1182-1187, doi: 10.1109/GlobalAISummit62156.2024.10947806. https://ieeexplore.ieee.org/document/10947806