qubithubgraph-coloring
Applies the Quantum Approximate Optimization Algorithm (QAOA) to Graph 2-Coloring: assign one of two colors to each vertex to minimize edge conflicts (adjacent vertices sharing a color). Default: 4-vertex graph with a triangle subgraph (chromatic number 3, minimum 1 conflict). Same circuit structure as MaxCut: coloring minimizes conflicts while MaxCut maximizes cuts.
- Framework
- Qiskit
- Qubits
- 4
- Depth
- 6
- Gate set
- H, RZZ, RX
- Licence
- Apache-2.0
- Version
- v1
- Updated
- 22 hours ago
- Runs
- 2 completed
Circuit
circuit.py · Qiskit · depth 6Loading circuit diagram…
Lineage
Not a fork.
No forks yet.
Suggested citation
@software{qubithub_graphcoloring_2026,
author = {QubitHub Circuits},
title = {QAOA for Graph Coloring},
year = {2026},
version = {v1},
url = {https://qubithub.co/circuits/dca14470-5a36-5a61-9d01-fd4c502759d6},
note = {https://qubithub.co/qubithub/graph-coloring},
}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.