Verdict usually under a minuteSubmit

Fewest CX gates to a hydrogen chain's ground state

Gate counts decide which molecules near-term and early fault-tolerant machines can treat: IBM and RIKEN's sample-based runs used circuits of up to about 10,000 gates, and ADAPT-VQE circuits for six-atom chains already need thousands of CNOT. Papers report the gates of one method each, and none of the papers QArena read gives the smallest number of entangling gates that reaches chemical accuracy for a named molecule. The board fixes the molecule, the basis, the qubit mapping and the accuracy, and leaves the method open: adaptive ansätze, Givens networks, compiled exact states or anything new compete on the same count.

Verifier

The verifier checks your file and computes its score. QArena runs the same code on every submission.

Verifications of this board run on the first lane of this list that is up and has room: the Mac mini, then CU Boulder's Alpine, then NCAR Derecho, then RunPod. A lane that is down, full or slow passes the file to the next one automatically, with the same verifier version; the limits of one verification are 120 s of CPU, 300 s of wall time and 2,048 MB of memory on the Mac mini, and 240 s of CPU, 480 s of wall time and 2,048 MB of memory on CU Boulder's Alpine, NCAR Derecho and RunPod (2 times the board's own CPU and wall time on the other lanes, because their processors are slower); the result goes to QArena only.

Download the bundle, extract it and run these commands from its folder (the one holding verifiers/). The bundle includes an accepted example file.

python3 -m pip install -r requirements.txt
python3 -I verifiers/run_one.py chemcx h4-r150 example/h4-r150.json

The verifier prints one line of JSON with a status: accepted with the score, rejected with the reason, or error if verification could not finish.

Files

FileRole
run_one.pyRuns the verifier
common.pyShared helpers
chemcx.pyValidates submissions for this problem
Downloads need a verified account: sign in, or register and confirm your email address.

How verification works

The cell file holds the qubit Hamiltonian as exact rationals, derived from PySCF integrals frozen on a 10⁻¹² Ha grid. The FCI energy of its sector was enclosed once by eigenvalue inertia (Sylvester's law, checked with an LDLᵀ factorization in Arb ball arithmetic), and the threshold is its lower end plus 0.0016 Ha. The verifier reads the file strictly, takes cos and sin of each angle from Arb, runs the circuit in float64 with a proved bound on the rounding error, and sums the energy of P H P + B(I − P) exactly in integers. It accepts only when the upper end of the energy's enclosure is at or below the threshold, rejects when the lower end is above it, and gives no score in between (the enclosure is about 10⁻¹⁰ Ha wide for the reference rows and 10⁻⁸ Ha at the gate cap). A file of 262,144 gates takes about 6 s. A second program, written from the specification by another author without reading the verifier, builds the Hamiltonian from the integrals, simulates in complex128 with its own error bound and its own cos and sin; the two agreed on all 696 test files.