route_spin_glass_manifold
QMA spin-glass / frustrated Ising: given integer couplings on edges and a presented +/-1 spin per site, return the exact Ising energy energy_num/energy_den and WIN. edges are i,j,J;... (the fixture 0,1,1;1,2,1;2,0,1 is the frustrated triangle), spins are +1,-1,... The presented configuration is evaluated exactly; no annealing and no ground-state search. Same law as math_court domain qma_spinglass and verify_qaoa_energy. Floats refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | No | couplings i,j,J;... integer J, e.g. 0,1,1;1,2,1;2,0,1 | |
| spins | No | discrete spins +1,-1,... one per site, e.g. 1,-1,1 |