← Atlas

Algorithms · Quantum walk

QFold: protein folding by quantum walk

Predict the three-dimensional structure of a protein from its amino-acid sequence, addressed here by parameterizing the protein in terms of the torsion angles of its amino acids rather than by a lattice-model simplification.

Attested & literatureUpdated

View frozen graph

A small worked example, computed in your browser. It is not a result from this record's papers.

A discrete-time quantum walk on a 4-cycle

One coin qubit, two position qubits (4 positions on a cycle), 3 steps starting at position 0.

q0q1q2Step 1 of 3 · Quantum walk step (4-cycle)Quantum walk step (4-cycle)Step 2 of 3 · Quantum walk step (4-cycle)Quantum walk step (4-cycle)Step 3 of 3 · Quantum walk step (4-cycle)Quantum walk step (4-cycle)

Step 1 of 3 · Quantum walk step (4-cycle)

Probability of each outcome after this step

  • 01150%
  • 11050%
  1. Flips the coin with a Hadamard, then shifts the position by +1 if the coin is |1⟩ or -1 mod 4 if the coin is |0⟩; with the coin in superposition, both shifts happen at once, entangling coin and position.

    Probability leaves the outcome it was on and appears on 2 entirely different ones — not one outcome is populated both before and after. This is the step that entangles the qubits: from here on no single qubit has a state of its own, only the register as a whole does.

  2. The same coin flip and shift, applied again.

    Probability leaves all 2 outcomes it was on and appears on 4 entirely different ones — not one outcome is populated both before and after.

  3. The same coin flip and shift, a third time.

    Probability leaves all 4 outcomes it was on and appears on 2 entirely different ones — not one outcome is populated both before and after. The entanglement comes apart here: each qubit has a state of its own again.

Readout The position always reads 3, for either value of the coin: constructive interference on this small cycle concentrates the walk onto a single position after exactly 3 steps.

Open in Studio
  • Record typeLiterature reference
  • Reference implementationprotein_folding_with_quantum_walk
  • Reported costA polynomial quantum advantage over the classical analog algorithm, found by comparing the two across different annealing schedules. The abstract states no exponent, no big-O expression, and no other resource count for either algorithm.
  • Papers1

This record is not a concrete circuit.

References

  • QFold: Quantum Walks and Deep Learning to Solve Protein Folding

    P A M Casares, Roberto Campos, M A Martin-Delgado · 2021

    Primary source: it names QFold, states that it combines deep learning with quantum walks applied to a Metropolis algorithm, that it parameterizes the protein by torsion angles rather than a lattice model, and reports a polynomial quantum advantage over its classical analog together with a minimal quantum-Metropolis realization on IBMQ Casablanca. Consult it for how QFold is constructed — the deep-learning component, the quantum-walk step, the annealing schedules compared, and the size of the IBMQ Casablanca realization — none of which the abstract states.

Attested & literature
  • Peer-reviewed paper
Method
Curation only. This record documents the algorithm a published reference implementation demonstrates, not the demonstration itself: nothing in Leona runs Qmod. The primary reference's title, authors and submission year were read from its arXiv abs page, and the complexity claim taken from a clause of that paper's abstract (The abstract of arXiv:2101.10279, the only source read for this record, states: "We compare it with its classical analog for different annealing schedules and find a polynomial quantum advantage". It names no exponent, no big-O expression, and no other quantitative bound — not a qubit count, not a gate count, not a query count — for either algorithm; that clause is the entirety of the abstract's complexity content. The demonstration this record covers states no bound either.). No circuit was constructed, simulated or run.
Result
Pass · the record's problem statement and primary reference agree with the sources named above.
Caveat
This is a literature record. Nothing was built, compiled, simulated or run for it, and no protein structure was predicted or folded; the record documents the algorithm as its abstract states it and does not reproduce or verify the demonstration. The index entry read for this record, applications/chemistry/protein_folding/protein_folding_with_quantum_walk, gives that directory path and a file list — qfold.ipynb and qfold.qmod — and nothing about what those files contain. The polynomial quantum advantage the abstract reports is a comparison against the algorithm's own classical analog, over different annealing schedules, as the authors measure it; the abstract states no exponent for either the quantum or classical scaling, no constant factor, no qubit count, no gate count, and it does not say what quantity — running time, number of Metropolis steps, or something else — the advantage is measured in, so none of that is recorded here. Calling QFold fully scalable, and calling torsion-angle parameterization the much more realistic assumption, are the authors' own characterizations, not independently checked for this record. The IBMQ Casablanca run the abstract reports is described as a minimal realization of the quantum Metropolis step, not a full run of QFold end to end, and it is the paper's own reported experiment, at whatever size that minimal realization used — a size the abstract does not state — carried here as the paper's claim rather than repeated or checked. Nothing here says how large a protein QFold could fold on present or any specific hardware, and nothing here compares QFold's classical-analog comparison to any other protein-folding algorithm outside the paper.
QFold: Quantum Walks and Deep Learning to Solve Protein Folding ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
Citation metadata only; source publication terms apply
protein foldingquantum walkmetropolis algorithmtorsion angleshybrid algorithm

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.