execute_2local_hamiltonian
QMA 2-local Hamiltonian, sealed as exact rational Jordan exclusions on the UUM-8D torus: given ZZ terms and a presented computational configuration, return the exact energy energy_num/energy_den of that configuration (z = 1-2s per site; each term adds jnum/jden * z_i * z_j). constraints are i,j,jnum,jden;... (sites i,j with coupling jnum/jden), config is s0,s1,... bits. The verdict is graded against the one energy QMACourtLaw holds a seal for: -1/1, constraints 0,1,1,1 with config 0,1 (fixture2LocalEnergyNum/Den). WIN means the posted configuration reaches that energy with no aligned term; MISS means an evaluated configuration that does not, with detail exclusion when a term is aligned (z_i * z_j > 0) or energy=num/den otherwise; a REFUSED_* verdict names an instance or configuration the law does not grade. The presented configuration is evaluated exactly; no ground state is searched. Same law as math_court domain qma_2local and verify_vqe_energy. Floats refused (REFUSED_FLOAT); a field posted as a JSON value that is not a string is REFUSED_NOT_A_STRING.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | computational bits s0,s1,... each 0 or 1, one per site, e.g. 0,1 | |
| constraints | No | ZZ terms i,j,jnum,jden;... e.g. 0,1,1,1 (sites 0 and 1, coupling 1/1) | |
| jordanBondExclusions | No | alias of constraints. e.g. 0,1,1,1 |