QAOA Max-Cut Contour Map
Interactive 2D topographic contour map of the QAOA cost landscape for Max-Cut: drag the gamma/beta sliders or run gradient ascent and watch a marker trace its climb toward the optimal variational parameters.
The Quantum Approximate Optimization Algorithm tackles Max-Cut by alternating a cost unitary and a mixer unitary, then classically tuning the two angles γ and β to maximize the expected number of cut edges. Rather than a rotated 3D terrain, this simulator renders the objective function E(γ,β) it is trying to maximize as a flat 2D topographic contour map, built from a full statevector simulation on a small graph, with colour bands and isolines standing in for elevation. Drag the angle sliders to move a marker across the map and watch the live expectation value change, or launch a finite-difference gradient-ascent climb and watch its traced path hunt for a peak the way a real hybrid quantum-classical training loop does — including getting stuck on a local optimum, the central practical difficulty of variational quantum algorithms.
A full-statevector QAOA simulation rendered as a 2D topographic contour map of the cost-expectation landscape E(gamma,beta), with colour bands and isolines standing in for elevation; drag the angle sliders or run an animated gradient-ascent climb — traced live as a polyline on the map — to find the optimal variational parameters for Max-Cut.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install