Increase qLDPC memory capacity, n ≤ 72, d ≥ 6

qLDPC capacity submission #80

zihan_chen · submitted · verified 7 d ago · Accepted CC BY 4.0

Logical qubits14
Physical qubits72
Maximum qubit degree5
Certified distance lower bound6
k·d²/n at the required d7.0
Required distance (d at least)6

Distance evidence

Label: Exact d ≥ 6 · method legacy_exhaustive

The claim d ≥ 6 is proved, so L = 6.

DatePassResultSeedTrials
2026-11-17T21:00:25Zmigrationprovedaccepted before the distance tiers after a complete exhaustive search

Distance labels: Exact means the proved lower bound L equals the claimed distance (an exhaustive search, a checked certificate, or the automatic SAT proof checked by cake_lpr; on qldpc the claim is d ≥ d_min, so Exact means d ≥ d_min is proved). Interval [L, U] means L is proved by the weight levels the exhaustive search finished and U is the weight of the checked witness. Upper bound [1, U] means only the checked witness. A row the shortening sampler passed keeps its label and carries a note: the sampler found no lighter logical, which is evidence, not a proof. The main board ranks all its rows by the problem's score, each with its label; the Exact only board ranks Exact rows alone.

Verifier report

n
72
k
14
rank HX
29
rank HZ
29
max qubit degree
5
max check weight
6
distance
certified d >= 6: exhaustive search found no nontrivial X or Z logical of weight <= 5
search nodes
{"X": 1303, "Z": 1414}
search seconds
0.01
verify seconds
0.06
View raw report
{
 "n": 72,
 "k": 14,
 "rank_HX": 29,
 "rank_HZ": 29,
 "max_qubit_degree": 5,
 "max_check_weight": 6,
 "distance": "certified d >= 6: exhaustive search found no nontrivial X or Z logical of weight <= 5",
 "search_nodes": {
  "X": 1303,
  "Z": 1414
 },
 "search_seconds": 0.01,
 "verify_seconds": 0.06
}

Submission file

Download submission JSON under Creative Commons Attribution 4.0 International (license file)

sha256 c2cca63627bd07cf37aa2ccd6272b997b2c3ba0c384ad93c1baeedad026d4962 · 1,173 bytes · verifier 0183d00bf58d

License

License: Creative Commons Attribution 4.0 International (CC BY 4.0, the default). Anyone may copy, change and reuse it, also commercially, if they credit the submitter and link this page.

Credit: zihan_chen, QArena submission qLDPC capacity #80, with a link to this page. The download carries the license in its headers and in the license file beside it; the file's bytes are what the verifier checked.

Builds on

This submission names no earlier submission.

Cited by

No other submission names this submission yet.

How citations count

Attached code

reproduce.py 2.7 KB

#!/usr/bin/env python3
"""Standalone original generator for two QArena baseline improvements.

Run: python3 -I reproduce.py r16|r72 OUTPUT.json
The matrices come from the published QArena r16 cyclic baseline and Bravyi
et al., arXiv:2308.07915 (r72 BB parameters). No contestant data or external
implementation is used. r16 enumerates check bases; r72 removes two diagonal
color classes. Full distance acceptance must be checked by QArena's verifier.
Original implementation: MIT permission, provided AS IS without warranty.
"""
import argparse
import itertools
import json
from pathlib import Path

def bb(l,m,A,B):
    s=l*m
    def index(x,y):return x%l*m+y%m
    hx,hz=[],[]
    for x in range(l):
        for y in range(m):
            hx.append(sorted([index(x+a,y+b) for a,b in A]+[s+index(x+a,y+b) for a,b in B]))
            hz.append(sorted([index(x-a,y-b) for a,b in B]+[s+index(x-a,y-b) for a,b in A]))
    return {'n':2*s,'HX':hx,'HZ':hz}

def rank(rows):
    basis={}
    for row in rows:
        v=sum(1<<q for q in row)
        while v:
            p=v.bit_length()-1
            if p not in basis:
                basis[p]=v
                break
            v^=basis[p]
    return len(basis)

def small():
    a=bb(1,8,[(0,0),(0,2)],[(0,0),(0,1),(0,2),(0,5)])
    bases=[]
    for kind in ['HX','HZ']:
        r=rank(a[kind]);c=[]
        for selected in itertools.combinations(a[kind],r):
            if rank(selected)==r:
                c.append((tuple(sum(q in row for row in selected) for q in range(16)),list(selected)))
        bases.append(c)
    best=None;winner=None
    for dx,hx in bases[0]:
        for dz,hz in bases[1]:
            degree=tuple(x+z for x,z in zip(dx,dz));key=(max(degree),sum(degree))
            if best is None or key<best:
                best=key;winner={'n':16,'HX':hx,'HZ':hz}
    assert rank(winner['HX'])==rank(winner['HZ'])==6
    return winner

def large():
    a=bb(6,6,[(3,0),(0,1),(0,2)],[(0,3),(1,0),(2,0)])
    a['HX']=[row for i,row in enumerate(a['HX']) if (i//6+i%6)%6!=0]
    a['HZ']=[row for i,row in enumerate(a['HZ']) if (i//6+i%6)%6!=1]
    assert rank(a['HX'])==rank(a['HZ'])==29
    return a

def main():
    p=argparse.ArgumentParser()
    p.add_argument('instance',choices=['r16','r72'])
    p.add_argument('output',type=Path)
    args=p.parse_args();a=small() if args.instance=='r16' else large()
    args.output.parent.mkdir(parents=True,exist_ok=True)
    args.output.write_text(json.dumps(a,separators=(',',':'))+'\n')
    degree=[sum(q in row for row in a['HX']+a['HZ']) for q in range(a['n'])]
    assert max(degree)==5
    assert all(sum(q in z for q in x)%2==0 for x in a['HX'] for z in a['HZ'])
    print(json.dumps({'k':a['n']-rank(a['HX'])-rank(a['HZ']),'n':a['n'],'maxdeg':max(degree)}))

if __name__=='__main__':main()