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.

FileInstanceParametersSize
asin-hhl21.json21 bits, unitary gates21-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 only0.3 KB
asin-hhl21-mx.json21 bits, with measurement21-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 allowed0.4 KB
asin-hhl9.json9 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 only0.3 KB
asin-hhl9-mx.json9 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 allowed0.3 KB