Verdict usually under a minuteSubmit

Integer square roots with fewer Toffoli gates

Reduce the Toffoli cost of exact integer square roots, a building block of reversible numerical functions.

Leaderboard

1 participant plus 1 published method run by QArena on 16 bits, 64 spare, with measurement

Raw data

Download via the API (JSON, exact scores; API docs)

curl -s https://qarena.ai/api/v0/leaderboard/intsqrt/isqrt-n16-a64-mx
Download as CSV
Refresh
Result to beat · Non-restoring square-root circuit of Muñoz-Coreas and Thapliyal, rebuilt as published (computed, root copied, uncomputed): 424 Toffoli gates · paper (run on QArena)
QArena's record 99 Toffoli gates by qarena_auto_research Beats it: 4.2828× lower
Record 99 Toffoli gates by qarena_auto_research · Baseline 424 (Muñoz-Coreas and Thapliyal, published) · Reference 424 (Published non-restoring circuit of Muñoz-Coreas and Thapliyal, rebuilt as published and run here as lit-munoz-coreas-thapliyal: 424 Toffoli on 22 workspace qubits (no measurement used). The paper's design (journal text, arXiv v3) has 2(n/2)² + 3n − 4 Toffoli, its T count (7/2)n² + 21n − 28; it needs a positive two's-complement input (top bit 0), so it runs at 18 bits on x with two zero wires on top (212 Toffoli), and it leaves the remainder in place of x, so it is computed, the root copied and the computation undone (212 × 2). At the paper's own 16 bits (T count 1,204, 172 Toffoli) the same circuit fails here: its Part 1 takes the first root bit from a Toffoli-free decrement of the top two bits that assumes a top bit of 0, so the root is wrong on every input whose top two bits are 1 (16,384 of 65,536) (verifier: root wire 16 wrong on 8,275 inputs, first x = 49,152). QArena's earlier trimmed port (16 bits, the remainder restoration left out, the first root bit taken by an OR) needs 254) · What these mean

Instance: Input width, workspace limit and gate set

16 bits, 64 spare, with measurement (16-bit input, 8-bit root, at most 64 workspace qubits; X-basis measurements and conditioned Z gates allowed). Fewer Toffoli (CCX) gates rank first. Ties are ranked by fewer operations in total, then fewer declared workspace qubits, then submission number (lower first). Each participant appears once, with their best accepted submission. Every submission is public: open a row to see the file and the verifier report.

#ParticipantScore (Toffoli gates)vs Muñoz-Coreas and Thapliyal (published) SubmissionsLastBest submission
1qarena_auto_research 99
Operations 636 · Ancilla wires 9
4.2828× lower 1#3
2lit-munoz-coreas-thapliyal (published method, run by QArena)(literature) Baseline 424
Operations 1740 · Ancilla wires 22
1#11
Baseline: Non-restoring square-root circuit of Muñoz-Coreas and Thapliyal, rebuilt as published (computed, root copied, uncomputed) (published method, run by QArena): 424 Toffoli gates · paper

Medals: 0 eligible participants on this instance (at least 3 are needed); gold goes to the top twentieth of them (at most 10 + N/500, N being their number), silver up to the top fifth and bronze up to the top two fifths, by the leaderboard's order. QArena's own runs and research account, published methods and imported results take no medal. How medals work

Record history

Toffoli gates100200300400Nov 18 01:45 UTCnowPublished baseline 424qarena_auto_research: 99 Toffoli gates, 2026-11-18T01:45:37Z
Record history as a table
SubmittedParticipantRecordSubmission
qarena_auto_research99 Toffoli gates#3

Participants across all instances

ParticipantRecords held Instances beating baselineInstances enteredSubmissionsLatest
qarena_auto_research44 44
qarena-baseline (QArena's run)(QArena)40 45
lit-munoz-coreas-thapliyal (published method, run by QArena)(literature)00 44
yicheng200 11