QArena · Fault-tolerant arithmetic Submit

Fewest Toffoli gates for elliptic-curve point addition

Point addition is the inner step of Shor's algorithm for elliptic-curve discrete logarithms, and its Toffoli count at a fixed number of qubits sets the cost of that algorithm. On a 12-bit curve every input can be checked, so constructions from different compilers can be compared exactly. The board says nothing about secp256k1 or other cryptographic curves.

Instance files

Each JSON file defines one instance of this problem. Instances differ by prime, kind of addend and input domain. The verifier reads the same files, and the verifier bundle contains all of them together with an accepted example.

FileInstanceParametersSize
ec11-offset.jsonp = 11, classical QQ = (2, 2); 8 curve points; debug instance0.4 KB
ec11-quantum.jsonp = 11, quantum Q92 pairs of curve points; debug instance0.4 KB
ec11-offset-plane.jsonp = 11, classical Q, planeQ = (2, 2); 99 pairs (x, y); debug instance0.3 KB
ec251-offset.jsonp = 251, classical QQ = (0, 42); 249 curve points; debug instance2.6 KB
ec251-quantum.jsonp = 251, quantum Q62,252 pairs of curve points; debug instance2.6 KB
ec251-offset-plane.jsonp = 251, classical Q, planeQ = (0, 42); 62,500 pairs (x, y); debug instance0.3 KB
ec4093-offset.jsonp = 4093, classical QQ = (5, 65); 4,167 curve points; tables of the group allowed47.1 KB
ec4093-quantum.jsonp = 4093, quantum Q17,376,390 pairs of curve points; Q read-only47.1 KB
ec4093-offset-plane.jsonp = 4093, classical Q, planeQ = (5, 65); 16,744,463 pairs (x, y), on the curve or not0.3 KB