qubithubqaoa-maxcut-farhi

Implementation of the Quantum Approximate Optimization Algorithm (QAOA) for MaxCut from Farhi, Goldstone and Gutmann (2014), simulated on triangle, square and butterfly graphs (3 to 5 qubits) at depths p = 1 to 3. It does not test the paper's 3-regular-graph bound.

RunCite
Framework
Cirq
Qubits
3
Depth
5
Gate set
H, RX, ZZ
Licence
Apache-2.0
Version
v1
Updated
2 days ago
Runs
2 completed

circuit.py · 19 KB

Code

Loading circuit.py…

Lineage

Not a fork.

No forks yet.

Suggested citation

@software{qubithub_qaoamaxcutfarhi_2026,
  author = {QubitHub Circuits},
  title = {QAOA MaxCut (Farhi 2014)},
  year = {2026},
  version = {v1},
  url = {https://qubithub.co/circuits/9fa292af-44cc-5b16-b5f1-dea4bce4e549},
  note = {https://qubithub.co/qubithub/qaoa-maxcut-farhi},
}

Generated from this circuit's metadata. QubitHub does not mint DOIs, so this is not a registered identifier. Check it against your venue's requirements before publishing.