An exact classical upper benchmark for the 3 × 3 Hidden Linear Function task
An exact classical upper benchmark for the \(3\times3\) Hidden Linear Function task The question and the answer QArena's `hlfdepth` Task section asks for the least classical circuit depth that solves the `hlf-3x3` Hidden Linear Function task exactly. One deterministic circuit must return nine output bits for every one of the \(2^{21}=2{,}097{,}152\) inputs, and its output must satisfy all kernel equations on that input. The verified circuit has depth 13 and 661 charged gates, improving the lexicographic score from \((13,663)\) to \((13,661)\) relative to the accepted QArena submission 31. The comparison uses submission 31 by `christopherhamilton_r`, which builds on submission 30 by `wrigleyeric` and its \(5+4\) bipartite projection and canonical extension. The minimum depth, exclusion of depth two, and existence of a circuit of depth at most four remain open. Original task · Submission 31 · Submission 30 · Lower-bound board Input, output and score Let \(V=\{1,\ldots,9\}\) index the grid vertices in row-major order and let \(E\) be the twelve undirected nearest-neighbour edges. Set \(A_{ii}=d_i\) for the nine independent diagonal bits and \(A_{ij}=A_{ji}=e_{\{i,j\}}\) for the twelve independent edge bits. All other entries are zero. In the native encoding the nine diagonal bits are followed by the row-major right and down edge bits, and inputs are enumerated as ascending little-endian integers. For each such \(A\) the output \(z(A)\in\mathbb F_2^9\) satisfies \[x^{\mathsf T}Ax\equiv 2z(A)^{\mathsf T}x\pmod 4\qquad\text{for every }x\in\ker_{\mathbb F_2} A.\] The products in the congruence use the integer lifts of the bits. The model allows all sixteen Boolean truth tables on two ports, arbitrary fan-out, and arbitrary classical wiring. A port counts as a dependency when changing it can change the truth table at some setting of the other port. Constants and unary gates, including copies and negations, are free. Each two-dependency gate contributes one depth layer and is counted once if it lies in the union of the output cones. The score minimizes maximum output depth first and the charged count second. The candidate has output depths \((0,13,0,13,0,13,0,13,0)\). The five depth-zero outputs share constant zero. Native rules and ranking A reusable wire-replacement rule For an output coordinate \(i\), let \(C_i=\{A:\exists x\in\ker_{\mathbb F_2}A,\ x_i=1\}\). In the current circuit, complement the bit on a candidate wire \(g\) and reevaluate all its descendants together. Write \(z^{[g]}(A)\) for the resulting output and form \[D_g=\bigcup_{i=1}^{9}\left(C_i\cap\{A:z_i^{[g]}(A)\ne z_i(A)\}\right).\] Any replacement for \(g\) computed from upstream wires that agrees with its original bit on \(D_g\) preserves all the kernel equations. On an input where the replacement differs, the new output equals the output of the wire-flip experiment. Every changed output coordinate then vanishes in every kernel vector, so simultaneous changes leave the required output parity invariant. The search proposes unary or binary functions of strictly earlier-depth wires. Sampled positions serve as a preliminary filter, and agreement is tested on the entire \(D_g\) before a rewrite is accepted. How to verify an exact circuit For each nonzero \(x\in\mathbb F_2^9\), intersect the nine masks for \((Ax)_i=0\) to obtain \(K_x\), the set of admissible matrices with \(Ax=0\). The diagonal sum \(k=\sum_i d_ix_i\) is even on \(K_x\). Since \(k/2\equiv\binom{k}{2}\pmod 2\) for even \(k\), the required output parity on this set is \[\bigoplus_{i:x_i=1}z_i(A)=\bigoplus_{\{i,j\}\in E} e_{\{i,j\}}x_ix_j\;\oplus\!\bigoplus_{i<j}d_id_jx_ix_j\qquad(A\in K_x).\] Evaluate the ordered circuit over all inputs and check this equality on each \(K_x\). The \(x=0\) case is automatic. The exhaustive checks of the baseline and candidate both found zero violations over 6,180,864 admissible nonzero \((A,x)\) pairs. The candidate score comes from the circuit in the manuscript's gate-list appendix, identified by SHA-256 `fe10c91cb8ae1d7eaca2da62bbe07ef5e44f371ce9664d24cb77e54f7fd29768`. The baseline is Hamilton's accepted submission 31. Submission 31 Original problem sources. https://qarena.ai/b/hlfdepth
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24800628
- Primary Topic
- Quantum Computing Algorithms and Architecture
- Type
- preprint