This repository proposes a scalable hybrid quantum-classical framework for solving large weighted Max-Cut instances under realistic NISQ hardware constraints.
Our approach combines:
- Shallow-depth QAOA on carefully selected subgraphs
- Classical refinement and local search
- Real hardware validation on Rigetti Ankaa-3
The project is organized into three major components:
- Problem A – QAOA baseline study
- Problem B – Hybrid quantum preconditioning strategy
- Hardware validation – Execution on real QPU
Evaluate QAOA performance on a small weighted Max-Cut instance where brute-force optimal value is computable.
- Hamiltonian construction using ZZ terms
- QAOA with p = 1 and p = 2
- Multi-start classical optimization
- Exact brute-force validation
Approximation ratio ≈ 0.58
Shallow QAOA struggles on irregular weighted graphs. Increasing depth improves quality but increases circuit noise.
Direct QAOA on 180 qubits is infeasible on current NISQ devices.
- Graph structural analysis (degree & weight distribution)
- Extraction of a 20-node dense subgraph
- QAOA (p=1) applied to subgraph
- Quantum-informed partition used as preconditioning
- Classical local improvement on full graph
Total graph weight: 7465.707
Final cut: 6538.127
MPES Ratio:
0.8758
This result is stable across multiple random seeds.
To evaluate real NISQ performance, we executed the 20-qubit QAOA instance on Rigetti's Ankaa-3 QPU.
- 20 qubits
- 24 weighted ZZ interactions
- ~48 CNOT gates
- p = 1
- Mixer RX layer
| Shots | Energy |
|---|---|
| 1000 | -5.51 |
| 5000 | -4.72 |
| 10000 | -13.90 |
- Energy fluctuations persist with increased shots.
- Readout error is moderate (1–4%).
- Two-qubit gate noise dominates performance degradation.
Our experiment demonstrates the practical limits of deep QAOA circuits on current NISQ hardware and justifies hybrid approaches.
problem_A/ QAOA baseline implementation problem_B/ Hybrid quantum preconditioning solver hardware/ Real QPU execution code and analysis classical/ Classical benchmarking implementations
Each notebook is self-contained and can be executed independently.
Required packages:
- Qiskit
- PyQuil
- NumPy
- SciPy
- NetworkX
- Pandas
Hardware execution requires Rigetti QPU access credentials.
- Classical benchmarking and refinement
Instead of scaling QAOA depth beyond hardware limits, we demonstrate that:
Hybrid quantum preconditioning + classical refinement
provides scalable performance while remaining hardware-aware.