Verdict usually under a minuteSubmit

Find a zero-sum set of random vectors over F₃

Kothari et al. put F₃ subset sum forward as a candidate for an exponential quantum speedup whose answers are cheap to check: adding the chosen vectors mod 3. Their open question is what classical algorithms can do below about 0.1n² vectors. A file on f3-n160 would show a classical method working there at a concrete size; while the cell stays open, the best known methods fall short of it.

Leaderboard: n = 160, m = 1,600 = n²/16 Hot

Result to beat · no baseline run on QArena yet
No accepted file yet: the first one sets the record.
#ParticipantScore (solved)vs baselineSubmission
No accepted submissions yet.

Baseline: No baseline: nothing published and no QArena run on this instance

Full leaderboard

Instance: Dimension n and number of vectors m

Overview

Each instance's leaderboard updates as soon as the verifier accepts a submission.
Every submission is public. The file is the solution itself, so anyone can see and check it; it does not show the program or search that produced it unless you attach that code.

Task

Each instance gives m vectors v0, …, vm−1 in F3n: n coordinates, each an integer modulo 3. Find a nonempty set S of indices such that

Σi∈S vi = 0 (mod 3) in every coordinate,

and submit S. Each vector is used at most once, with coefficient 1. (With coefficients 2 allowed, Gaussian elimination would solve the problem at once.) This is the F3n-Subset-Sum problem of Kothari, Metger, O'Donnell, Shutty and Wu (arXiv:2609.40321, Problem 1.1). It is also the 0/1 form of the short integer solution problem (SIS) of lattice cryptography with modulus 3.

A solution always exists here. Any 2n + 1 vectors of F3n contain a nonempty set with sum zero (the paper's Theorem 1.2), and every cell has m ≥ 2n + 1. Nothing is planted, so there is no hidden answer: any valid set solves the cell.

Why this problem

Kothari et al. give a quantum algorithm (Theorem 1.3) that solves random instances with m ≥ κn, for a constant κ > log23, in time (m/n)O(⌈n²/m⌉). For m = εn² with any fixed ε > 0 that is a polynomial in n, of degree growing like 1/ε. On the classical side:

  • Ivanyos, Sanselme and Santha's deterministic algorithm solves every input with m ≥ (n+1)(n+2)/2 in polynomial time (in the form of Kothari, O'Donnell and Wu, arXiv:2510.07515, Theorem 2.2).
  • Kothari, O'Donnell and Wu (STOC 2026, Theorem 1.2) lower the proven bound to m ≥ n²/3 + Cn log n. Their classical algorithms cover the regime near m = n²/2 where Chen, Liu and Zhandry (EUROCRYPT 2022) had given an efficient quantum algorithm.
  • The September paper reports a classical algorithm down to m ≈ 0.1022n². Its constant c* = (8 log23 − 9)/36 came out of "an LLM-assisted optimization of existing classical algorithmic ideas", and the paper does not fully describe or prove that algorithm (its section 1.3). It is not a proven threshold.
  • Below these thresholds the best known attacks are Wagner-type algorithms, with time 2O(n/log(m/n)) (the paper, citing Wagner, CRYPTO 2002).

The paper's open question is what classical algorithms can do below about 0.1n² vectors, and this board asks it at a concrete size. The ranked cell f3-n160 has m = n²/16, below every classical polynomial-time threshold above. At this size the quantum algorithm is not practical either: its polynomial has degree of order n²/m = 16, with constants the paper does not fix. So the cell measures how far classical methods reach in the regime the quantum claim targets. One solved instance would not refute the asymptotic claim.

The instances

InstanceModenmm against nPlain meaning
f3-n160ranked (hot)1601,600n²/16below every proven and claimed classical polynomial-time threshold (13,041; 8,533 + Cn log n; about 2,616)
f3-n64-easydebug642,145(n+1)(n+2)/2exactly Ivanyos, Sanselme and Santha's bound: a polynomial-time algorithm solves it
f3-n64-caldebug64256n²/16the hot cell's ratio at a size Wagner's k-tree solves on one core: the calibration matrix

Every matrix is generated from its cell id with the generator f3-shake256-v1. Take the output of SHAKE-256 on the ASCII bytes of the id (for example the 7 bytes f3-n160) and read it byte by byte. A byte b < 243 gives the five trits b mod 3, ⌊b/3⌋ mod 3, ⌊b/9⌋ mod 3, ⌊b/27⌋ mod 3, ⌊b/81⌋ mod 3, in this order; a byte of 243 or more is skipped. Trit t of the resulting sequence is coordinate t mod n of vector ⌊t/n⌋, and the trits after the first n·m are dropped. The instance file lists vector i as a string of n characters 0, 1, 2 (character j is coordinate j):

{"board": "f3-subsetsum", "instance": "f3-n160", "mode": "ranked", "generator": "f3-shake256-v1", "n": 160, "m": 1600,
 "vectors": ["0201...", ...], "licence": "CC0-1.0", "source": "...", "cpu_seconds": 10, "mem_mb": 256}

tools/gen_f3subsetsum.py writes the three files, and its --check option compares them byte for byte. The verifier regenerates the vectors and refuses an instance file that differs. The two debug cells are solved by the methods below and show them at work; their tables are not rankings.

Submission file

{"subset": [129, 130, 133, 135, ...]}

Exactly one key, subset: a list of k ≥ 1 vector indices, numbered from 0, in any order. The file may have at most 64 KiB (65,536 bytes; every index of the largest cell takes 9,627 bytes) and is read by QArena's strict JSON parser: duplicate keys, NaN, Booleans or numbers with a fraction or an exponent as indices are refused, and so are non-ASCII digits.

Validation

The first failing rule rejects the file, and the message names it:

  1. shape: an object whose only key is subset, holding a list of 1 to m entries;
  2. index: every entry is an integer from 0 to m − 1 (the first bad entry is named by its position);
  3. distinct: no entry repeats an earlier one;
  4. zero sum: the sum of the listed vectors is 0 mod 3 in every coordinate (the lowest coordinate where it is not is named).

Scoring

An accepted file scores solved = 1. Equal scores rank by submission number (lower first), so the earliest valid file keeps the cell. The number of vectors in the set (size) is shown and does not rank, since any solution answers the question. Rejected files are not scored.

Methods run by QArena

  • Ivanyos, Sanselme and Santha's algorithm on f3-n64-easy (literature row lit-iss-kow; QArena's code tools/f3_iss.py, written from the proof of Kothari, O'Donnell and Wu's Theorem 2.2). It runs an induction on the dimension l of a subspace that holds the current vectors. The first l + 1 vectors are linearly dependent. Write P and N for the indices with coefficient 1 and 2 in a dependency; then u = ΣP = ΣN. If u = 0, P (or N) is a solution. Otherwise each later vector t becomes t − c·u, which is zero at a coordinate where u is not, and the recursion on these l(l+1)/2 vectors returns a set I whose original sum is c(I)·u. Adding nothing, P ∪ N (sum −u) or P (sum u) completes it. The levels use (n+1) + n + … + 1 = (n+1)(n+2)/2 vectors, exactly the cell's m. It finds a set of 776 vectors in 0.3 s of one core; the file is the same on every run.
  • Wagner's k-tree on f3-n64-cal (literature row lit-wagner-ktree; QArena's code tools/f3_wagner.py). The 256 vectors form 16 groups of 16, and each of the 16 lists holds all 65,536 subset sums of one group. Three levels of joins pair sibling lists whose sums cancel on 5, 15 and 15 more coordinates, with lists of about 17.7 million, 21.8 million and 33.0 million entries. The last join pairs the two halves on the remaining 29 coordinates: 17 matches, 16 of them nonempty sets, each checked by direct summation. The file is the first one, 129 vectors. The run took 113 s and 5.8 GiB on one core of the build box.
  • No method reaches f3-n160, so it has no baseline. Ivanyos, Sanselme and Santha's algorithm would need 13,041 vectors there, and Kothari, O'Donnell and Wu's at least 8,533.

How far Wagner's k-tree is from the hot cell comes from a cost model: the extended k-tree of Minder and Sinclair, with every list capped at 2a entries and the cheapest number of lists. It counts stored list entries and ignores the logarithmic cost of sorting:

nmListsStored entries (model)List operations (model)Status
6425616223.1227.1measured on f3-n64-cal: largest list 33,042,773 = 224.98 entries, 113 s
9657632229.0234.0extrapolation
1281,02432234.7239.7extrapolation
1601,60064240.7246.7extrapolation: about 100 TB at about 56 bytes per entry

At n = 64 the model's 223.1 is the largest list of an idealised run whose joins cancel fractional numbers of coordinates. The run here cancels whole numbers (5, 15, 15 and 29), and its largest list was 21.9 (3.7 times) larger. The rows for n ≥ 96 are extrapolations of the model, and a better algorithm would change them.

Verification

The verifier (verifiers/f3subsetsum.py) regenerates the cell's vectors and requires the instance file to list exactly them. It then applies the four rules in order. For rule 4 it adds the chosen vectors coordinate by coordinate as Python integers and reduces each sum mod 3. That is at most m·n = 256,000 additions on f3-n160. The costliest file, every index of f3-n160 (rejected by rule 4 after the full sum), takes 0.02 s of CPU in the check and 0.06 s through run_one.py with start-up included, using 18 MiB of memory, on one core of QArena's build box (AMD Ryzen 9 9950X); the board allows 10 s and 256 MB.

A second program (tests/f3subsetsum_indep.py), written from the specification by another author without reading the verifier, has its own SHAKE-256 expansion and strict parser and adds vectors as pairs of bit masks with bit operations. Its self-test compares it with a brute-force sum over every subset of small random instances. The two programs agreed on all 21,652 files of tests/cross_f3subsetsum.py: the three shipped files on every cell, 81 planted failures, 300 valid sets from Ivanyos, Sanselme and Santha's algorithm run on reordered vectors, 3,000 random mutants, every nonempty subset of 150 small random matrices (17,652 files, each also checked against a direct sum), 70 raw-byte cases through run_one.py and the 537 files of the checker's self-test.

Notes on the sources

  • QArena's first probe of Wagner's k-tree (7 minutes at n = 64, m = 256) ran on a matrix from NumPy's random generator. The numbers above come from the frozen QArena matrix f3-n64-cal.
  • Every cell has m ≥ 2n + 1, so a solution exists by the theorem quoted under Task. For random vectors a solution already exists with high probability from m ≈ n log23 (the paper's Theorem 1.2).
  • The easy cell lies exactly on a proven classical bound, so a solution there says nothing about the quantum claim.

Application

Kothari et al. present F3 subset sum as a candidate for an exponential quantum speedup, and anyone can check an answer by adding vectors mod 3. A solved f3-n160 would be a concrete data point for the classical side: a method that works at m = n²/16 and n = 160. As long as the cell stays open, it records that the best known classical methods still fall short there. The same problem is the binary form of SIS with modulus 3, so classical progress here also bears on lattice-based cryptography with small moduli.

Sources and licences

  • The instances are QArena's own: generated from SHAKE-256 of each cell id, nothing copied. They are released under CC0-1.0 (their licence field).
  • Kothari, Metger, O'Donnell, Shutty, Wu, Exponential quantum speedup for F3n-Subset-Sum? Or, rigorous classical algorithms for Binary-Error LWE, arXiv:2609.40321 v1 (2026-09-30; arXiv non-exclusive distribution licence): the problem (Problem 1.1), existence (Theorem 1.2), the quantum algorithm (Theorem 1.3) and the constant c*. QArena copied no text or figure.
  • Kothari, O'Donnell, Wu, No exponential quantum speedup for SIS∞ anymore, arXiv:2510.07515 v3 (2026-03-05; STOC 2026; arXiv non-exclusive distribution licence): Theorems 1.2 and 2.2. QArena wrote tools/f3_iss.py from the proof of Theorem 2.2; no code was released.
  • G. Ivanyos, L. Sanselme, M. Santha, An efficient quantum algorithm for the hidden subgroup problem in nil-2 groups, LATIN 2008, LNCS 4957, 759–771; Algorithmica 62 (2012) 480–498; arXiv:0707.1260 (Claim 1).
  • D. Wagner, A generalized birthday problem, CRYPTO 2002, LNCS 2442, 288–303, doi:10.1007/3-540-45708-9_19. QArena's implementation (tools/f3_wagner.py) is its own.
  • L. Minder, A. Sinclair, The extended k-tree algorithm, SODA 2009, 586–595; J. Cryptology 25 (2012) 349–382: the cost model.
  • Y. Chen, Q. Liu, M. Zhandry, Quantum algorithms for variants of average-case lattice problems via filtering, EUROCRYPT 2022, arXiv:2108.11015.

Where verification runs

Verification runs on QArena's own server (a Mac mini) with the verifier of this board's bundle.

Current records

InstanceBaselineRecord (solved) Reference scoreRecord holderStatus
n = 160, m = 1,600 = n²/16 Hot
1,600 vectors of F₃¹⁶⁰ from SHAKE-256 of "f3-n160"; below Kothari, O'Donnell and Wu's proven classical bound n²/3 + Cn log n (8,533 plus the log term) and the paper's unproven 0.1022n² ≈ 2,616; a solution exists since m ≥ 2n + 1 = 321
No baseline––
Unsolved: nothing published solves it, and no QArena method reaches it. Ivanyos, Sanselme and Santha's algorithm needs m ≥ 13,041 here; Wagner's k-tree would store about 2^40.7 list entries by its cost model, an extrapolation from the n = 64 calibration, Kothari, Metger, O'Donnell, Shutty and Wu, arXiv:2609.40321 (arXiv non-exclusive licence)
–No accepted submissions
n = 64, m = 2,145 = (n+1)(n+2)/2 (debug)
debug instance: m meets Ivanyos, Sanselme and Santha's bound, where a deterministic algorithm solves every input in polynomial time
1
Kothari et al., published
11
Solved by Ivanyos, Sanselme and Santha's algorithm as QArena runs it (lit-iss-kow): 776 vectors in 0.3 s on one core, Kothari, O'Donnell and Wu, arXiv:2510.07515, Theorem 2.2, after Ivanyos, Sanselme and Santha (LATIN 2008; Algorithmica 62, 2012)
lit-iss-kow (published method, run by QArena)(literature)Matches proved optimum
n = 64, m = 256 = n²/16 (debug)
debug instance: the calibration matrix of Wagner's k-tree, at the hot cell's ratio m = n²/16 but a size one core solves
1
Wagner, published
11
Solved by Wagner's k-tree as QArena runs it (lit-wagner-ktree): 16 lists of 65,536 subset sums, 113 s on one core, largest list 33,042,773 entries against 2^23.1 in the cost model, D. Wagner, A generalized birthday problem, CRYPTO 2002, LNCS 2442, 288-303
lit-wagner-ktree (published method, run by QArena)(literature)Matches proved optimum

The baseline of an instance is its published result where there is one (the hot instance's famous result, a cited published reference, or a published result or method on its leaderboard), else QArena's own run. Reference scores come from cited papers or derived constructions.

Record changes

No participant record yet

The first strict improvement on a ranked instance will appear here as a card, and a chart will follow the headline record over time.

Headline record now:

How to submit