CIQA

Quantum Error Correction Encoder Analytic 1:5 QEC for matter qubit architectures

About

CIQA encodes logical qudits into blocks of n physical qudits and produces the encoding circuit, syndrome measurement circuit, and correction gates. Input your logical circuit, select encoder configuration, and get the encoded physical circuit back in the same format.

Required: do not apply gate fusion or small-angle removal to the encoding prefix. Run CIQA first, pass the encoded circuit directly to the router, then apply any optimisation passes only after routing and only to gates outside the encoding block.

Input format

Operation


Encoder config


Encoding summary

Overhead
1:5
Parity checks
...
Full Pauli correction
...
Error floor
...

Syndrome result (for correct operation)

Circuit input
Total circuits encoded: ... (this session: 0)
Physical qudit 1 (q1)

In the n=5 block, q1 participates in more two-qudit gates than any other position: it is the junction between both parity checks, which means it accumulates gate noise from both. On current hardware (typical two-qudit gate error ~1%), this can prevent both parity ancilla from firing correctly in the same shot, causing q1 errors to go undetected. Qudits q0, q2, q3, and q4 each participate in one parity check and are not affected by this. This is a hardware fidelity constraint at current gate error rates, not a structural flaw in the encoding. Lower gate error rates or hardware topologies that natively support all required connections without SWAP insertion will resolve this.

Concatenation p = 0.1% physical error rate

Concatenation re-encodes every physical qudit of an encoded block into its own CIQA block. Each level multiplies the qubit count by n and reduces the logical error rate from p_L to p_L squared. To concatenate: run encode on your logical circuit to get the level-1 physical circuit, then pass that output as the input to another encode call with the same n and d. Repeat for each additional level. The coupling map at each level must accommodate the full expanded qubit count plus ancilla (n data + (n-1) ancilla per logical qubit at n=5).

LevelTotal overheadp_LNotes
11:5~1.0 x 10-55 physical per logical
21:25~1.0 x 10-925 physical per logical
31:125~1.0 x 10-17sufficient for Shor's algorithm