qubithubgraph-coloring

Solves Graph 2-Coloring using the Quantum Approximate Optimization Algorithm (QAOA). Assigns one of two colors to each vertex to minimize edge conflicts (adjacent vertices sharing a color). Default: 4-vertex graph with triangle subgraph (chromatic number 3, minimum 1 conflict). Identical circuit structure to MaxCut — coloring minimizes conflicts while MaxCut maximizes cuts.

RunCite
Framework
Qiskit
Qubits
4
Depth
6
Gate set
H, RZZ, RX
Licence
Apache-2.0
Version
v1
Updated
7 hours ago
Runs
None completed

Circuit

circuit.py · Qiskit · depth 6
Loading circuit diagram…

README.md · 9.0 KB

Readme

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/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.