Verdict usually under a minuteSubmit
The HHL arcsin angle with fewer Toffoli gates
Reduce the Toffoli cost of the eigenvalue-to-angle map that every HHL-type linear solver runs inside its inversion.
Instance files
Each JSON file defines one instance of this problem. Instances differ by gate set. The verifier reads the same files, and the verifier bundle contains all of them together with an accepted example.
| File | Instance | Parameters | Size |
|---|---|---|---|
| asin-hhl21.json | 21 bits, unitary gates | 21-bit input X from 2^16 to 2^21 − 1, 32-bit angle, tolerance 10^−7 rad, at most 75 workspace qubits; X, CX and CCX only | 0.3 KB |
| asin-hhl21-mx.json | 21 bits, with measurement | 21-bit input X from 2^16 to 2^21 − 1, 32-bit angle, tolerance 10^−7 rad, at most 75 workspace qubits; X-basis measurements and conditioned Z and CZ gates allowed | 0.4 KB |
| asin-hhl9.json | 9 bits (debug) | debug instance: 9-bit input X from 16 to 511, 20-bit angle 2^20 arcsin(8/X), tolerance 10^−4 rad, at most 40 workspace qubits; X, CX and CCX only | 0.3 KB |
| asin-hhl9-mx.json | 9 bits, with measurement (debug) | debug instance: 9-bit input X from 16 to 511, 20-bit angle, tolerance 10^−4 rad, at most 40 workspace qubits; measurements and conditioned Z and CZ gates allowed | 0.3 KB |