Expand description
Auto-generated module
π€ Generated with SplitRS
FunctionsΒ§
- amplitude_
damping_ capacity - Approximate quantum capacity of the amplitude damping channel. Q β 1 - H(Ξ³) for small Ξ³.
- app
- app2
- app3
- arrow
- bacon_
shor_ code_ ty BaconShorCode : Nat β TypeBacon-Shor code on an mΓm grid: [[mΒ², 1, r, m]] subsystem code.- bacon_
shor_ single_ fault_ tolerant_ ty - Theorem:
BaconShorSingleFaultTolerantThe Bacon-Shor code is single-fault-tolerant for adversarial noise. - belief_
prop_ decoder_ ty BeliefPropDecoder : Nat β Nat β Nat β TypeBelief propagation decoder for qLDPC codes.- binary_
entropy - Compute the binary entropy H(p) = -p logβ p - (1-p) logβ(1-p).
- binomial_
code_ ty BinomialCode : Nat β Nat β TypeBinomial code [[N, M, d]]_b protecting against d-photon loss/gain errors.- bool_ty
- bosonic_
code_ ty BosonicCode : TypeA quantum code encoding into bosonic (oscillator) modes.- bp_
convergence_ ldpc_ ty - Theorem:
BPConvergenceLDPCBelief propagation converges for cycle-free factor graphs (tree-like codes). - bravyi_
kitaev_ distillation_ ty - Theorem:
BravyiKitaevDistillationThe 15-to-1 distillation protocol asymptotically achieves cubic error suppression. - build_
quantum_ error_ correction_ env - bvar
- cat_
code_ loss_ tolerance_ ty - Theorem:
CatCodeLossToleranceS-cat code detects up to S-1 photon losses. - cat_
code_ ty CatCode : Nat β TypeCat code with S-fold symmetry protecting against amplitude damping.- circuit_
noise_ threshold_ ty CircuitNoiseThreshold : NoiseModel β RealThe circuit-level noise threshold for a given noise model.- circuit_
threshold_ theorem_ ty - Theorem:
CircuitThresholdTheoremFor circuit-level noise below threshold, arbitrarily long computations are possible. - classical_
code_ ty ClassicalCode : Nat β Nat β Nat β Type[n, k, d] classical linear code over Fβ.- code_
distance_ ty CodeDistance : StabilizerCode n k d β Natd = min weight of a non-trivial logical operator.- code_
switching_ ty CodeSwitching : Nat β Nat β Nat β Nat β Nat β Nat β TypeProtocol for switching between two codes [[n1,k,d1]] and [[n2,k,d2]].- coherent_
information_ ty CoherentInformation : Type β Type β RealI_c(Ο, N) = S(N(Ο)) β S((idβN)(|Οβ©β¨Ο|)) (coherent information).- color_
code_ equivalent_ ty - Theorem:
ColorCodeEquivalent2D color codes are equivalent to two copies of toric/surface codes. - color_
code_ lattice_ ty ColorCodeLattice : TypeThe trivalent 3-colorable lattice underlying a color code.- color_
code_ syndrome_ ty ColorCodeSyndrome : Nat β TypeSyndrome pattern (vertex/plaquette check violations) for a color code.- color_
code_ transversal_ t_ ty - Theorem:
ColorCodeTransversalT2D color codes on 4-8-8 lattice admit a transversal T gate. - color_
code_ ty ColorCode : Nat β TypeA 2D color code on a 4-8-8 or 6-6-6 lattice with distance d.- commutator_
pauli_ ty CommutatorPauli : PauliGroup n β PauliGroup n β BoolTest whether two Paulis commute (true) or anti-commute (false).- concatenated_
code_ distance_ ty - Theorem:
ConcatenatedCodeDistanceLevel-L concatenation of [[n,1,d]] code has distance d^L. - concatenated_
code_ ty ConcatenatedCode : Nat β Nat β Nat β Nat β Type[[n,k,d]] code concatenated to level L.- css_
code_ ty CSSCode : Nat β Nat β Nat β TypeCSS code [[n, kβ+kβ-n, d]] from two classical codes Cββ₯ β Cβ.- css_
construction_ ty - Theorem:
CSSConstructionIf Cββ₯ β Cβ then the CSS construction yields a valid quantum code. - css_
transversal_ cnot_ ty - Theorem:
CSSTransversalCNOTCSS codes admit a transversal CNOT gate. - css_
x_ stabilizer_ ty CSSXStabilizer : CSSCode n k d β TypeX-type stabilizers from the parity check matrix Hβ.- css_
z_ stabilizer_ ty CSSZStabilizer : CSSCode n k d β TypeZ-type stabilizers from the parity check matrix Hβ.- cst
- decoder_
map_ ty DecoderMap : Nat β Nat β TypeA syndrome decoding map Ο β¦ correction β P_n.- decoding_
threshold_ ty DecodingThreshold : Type β RealThe decoding threshold for a given decoder: physical error rate below which decoding succeeds.- depolarizing_
noise_ ty DepolarizingNoise : Real β TypeDepolarizing noise channel with uniform error rate p per gate.- distill_
t_ state_ fidelity - T-state fidelity after one round of [[15,1,3]] distillation. Input fidelity F β output fidelity F_out β 1 - 35(1-F)Β³.
- distillation_
overhead - Overhead (input T-states per output T-state) for k rounds. Each round uses 15 input states to produce 1 output.
- distillation_
protocol_ ty DistillationProtocol : Nat β Nat β Real β TypeA distillation protocol consuming n input magic states to produce k outputs at fidelity F.- distillation_
rounds - Number of T-state distillation rounds needed to reach target fidelity.
- easttin_
knill_ theorem_ ty - Theorem:
EasttinKnillTheoremNo quantum code can have a universal set of transversal gates. - erasure_
channel_ capacity - Quantum capacity of the erasure channel with erasure probability Ξ΅. Q = max(0, 1 - 2Ξ΅).
- error_
syndrome_ ty ErrorSyndrome : Nat β Nat β TypeSyndrome vector in Fβ^{n-k} from measuring stabilizer generators.- error_
threshold_ ty ErrorThreshold : RealThe fault-tolerance threshold p_th below which error rates can be suppressed.- fault_
tolerance_ gadget_ ty FaultToleranceGadget : Nat β Nat β Nat β TypeA fault-tolerant implementation gadget satisfying threshold conditions.- fault_
tolerance_ overhead_ ty FaultToleranceOverhead : Nat β Nat β RealResource overhead O(polylog(1/Ξ΅)) for error rate Ξ΅ at code distance d.- fault_
tolerant_ gate_ ty FaultTolerantGate : Nat β Nat β Nat β TypeA fault-tolerant implementation of a gate on an [[n,k,d]] code.- fiber_
bundle_ code_ ty FiberBundleCode : Nat β Nat β TypeFiber bundle LDPC code with linear distance and constant check weight.- fiber_
bundle_ distance_ ty - Theorem:
FiberBundleDistanceFiber bundle codes achieve distance Ξ©(n^{3/5}). - gate_
synthesis_ ty GateSynthesis : Nat β Real β TypeApproximation of a target unitary to precision Ξ΅ using n gates from a fault-tolerant set.- gauge_
group_ ty GaugeGroup : Nat β Nat β Nat β Nat β TypeGauge group G of a subsystem code (generated by gauge operators).- gkp_
code_ ty GKPCode : Real β TypeGottesman-Kitaev-Preskill code with lattice spacing Ξ in phase space.- gkp_
corrects_ bounded_ displacement_ ty - Theorem:
GKPCorrectsBoundedDisplacementGKP code corrects displacement errors with |Ξ±| < Ξ/2. - gkp_
displacement_ error_ ty GKPDisplacementError : Real β Real β TypeA displacement error D(Ξ±) in phase space acting on a GKP codeword.- good_
qldpc_ code_ ty GoodQLDPCCode : Nat β Nat β Nat β PropA good qLDPC code with k = Ξ(n) logical qubits and d = Ξ(n) distance.- gottesman_
knill_ theorem_ ty - Theorem:
GottesmanKnillTheoremClifford circuits (starting from computational basis) can be classically simulated. - hashing_
bound - Hashing bound for the depolarizing channel with error rate p. Q β₯ max(0, 1 - H(p) - p logβ 3).
- hashing_
bound_ ty HashingBound : Real β RealQ β₯ 1 - H(p) - p logβ 3 for depolarizing channel at rate p.- kl_
correctable_ code_ ty KLCorrectableCode : Nat β Nat β Nat β TypeAn [[n,k,d]] code satisfying the Knill-Laflamme conditions for a given error set.- kl_
degenerate_ code_ ty - Theorem:
KLDegenerateCodeA degenerate code can correct errors where C_{ab} is non-scalar; KL still applies. - kl_
equivalence_ ty - Theorem:
KLEquivalenceA code is error-correcting for E iff KL necessary and sufficient conditions both hold. - kl_
error_ set_ ty KLErrorSet : Nat β TypeA set of Kraus operators {E_a} for which KL conditions are checked.- kl_
matrix_ ty KLMatrix : Nat β Nat β TypeThe matrix C_{ab} in Knill-Laflamme: β¨Ο_i|Eβ a E_b|Ο_jβ© = C{ab} Ξ΄_{ij}.- kl_
necessary_ condition_ ty KLNecessaryCondition : KLErrorSet n β StabilizerCode n k d β PropNecessary KL condition: Eβ _a E_b must act as a scalar on the code space.- kl_
sufficient_ condition_ ty KLSufficientCondition : KLErrorSet n β StabilizerCode n k d β PropSufficient KL condition: there exists a recovery channel correcting all errors in E.- knill_
laflamme_ conditions_ ty - Theorem:
KnillLaflammeConditionsError set E is correctable iff β¨Ο_i|Eβ a E_b|Ο_jβ© = C{ab} Ξ΄_{ij}. - list_ty
- logical_
operator_ ty LogicalOperator : StabilizerCode n k d β PauliGroup n β TypeA logical Pauli operator commuting with all stabilizers but not in S.- magic_
state_ distillation_ works_ ty - Theorem:
MagicStateDistillationWorksNoisy T-states can be distilled to high-fidelity T-states using Clifford operations. - magic_
state_ injection_ ty MagicStateInjection : TypeProtocol for injecting a T-gate resource state |Tβ© = T|+β©.- magic_
state_ non_ stabilizer_ ty - Theorem:
MagicStateNonStabilizerMagic states are not stabilizer states; their Wigner function has negative values. - magic_
state_ robustness_ ty MagicStateRobustness : RealRobustness of magic: minimum overhead for simulating non-Clifford operations.- magic_
state_ ty MagicState : TypeA non-stabilizer (magic) resource state enabling non-Clifford gates.- ml_
decoder_ ty MLDecoder : Nat β Nat β Nat β TypeMaximum-likelihood decoder (optimal but exponential complexity).- mwpm_
decoder_ ty MWPMDecoder : Nat β Nat β Nat β TypeMinimum-weight perfect matching decoder for [[n,k,d]] stabilizer codes.- mwpm_
optimal_ surface_ ty - Theorem:
MWPMOptimalSurfaceMWPM achieves the optimal threshold for the surface code under independent noise. - nat_ty
- no_
cloning_ capacity_ ty - Theorem:
NoCloningQ(N) > 0 implies the channel is not entanglement-breaking. - noise_
model_ ty NoiseModel : TypeA noise model specifying single-qubit, two-qubit, and measurement error rates.- operator_
qec_ ty OperatorQEC : Nat β Nat β Nat β Nat β PropOperator quantum error correction condition for subsystem codes.- pauli_
anti_ commute_ ty - Theorem:
PauliAntiCommuteXY = iZ, YZ = iX, ZX = iY (Pauli anti-commutation relations). - pauli_
group_ non_ abelian_ ty - Theorem:
PauliGroupNonAbelianThe n-qubit Pauli group is non-abelian for n β₯ 1. - pauli_
group_ ty PauliGroup : Nat β TypeThe n-qubit Pauli group P_n = {Β±1,Β±i} Γ {I,X,Y,Z}^βn.- pauli_
op_ ty PauliOp : Typeβ a single-qubit Pauli operator {I, X, Y, Z}.- pauli_
phase_ ty PauliPhase : TypeThe phase factor β {1, i, -1, -i}.- pauli_
square_ identity_ ty - Theorem:
PauliSquareIdentityΟΒ² = I for Ο β {X, Y, Z}. - pi
- polytope_
bound_ ty - Theorem:
PolytopeBoundThe threshold p_th satisfies p_th β₯ 1/(cΒ·(n-k)^2) for some constant c. - prop
- pseudo_
threshold_ ty PseudoThreshold : Nat β Nat β Nat β RealPseudo-threshold for an [[n,k,d]] code.- qldpc_
code_ ty QLDPCCode : Nat β Nat β Nat β TypeQuantum low-density parity-check code [[n, k, d]] with constant check weight.- qldpc_
good_ codes_ ty - Theorem:
QLDPCGoodCodesGood quantum LDPC codes exist with k, d both linear in n. - qldpc_
tanner_ ty QLDPCTanner : Nat β TypeTanner graph representation of a qLDPC code.- quantum_
capacity_ ty QuantumCapacity : Type β RealQ(N) = max over n,Ο of (1/n) I_c(Ο, N^βn) (quantum capacity).- quantum_
erasure_ capacity_ ty QuantumErasureCapacity : Real β RealQ of erasure channel with erasure probability Ξ΅ is max(0, 1-2Ξ΅).- quantum_
hamming_ bound_ ty - Theorem:
QuantumHammingBoundFor a non-degenerate [[n,k,d]] code: 2^k β_{j=0}^{t} C(n,j) 3^j β€ 2^n. - quantum_
noise_ threshold_ ty - Theorem:
QuantumNoiseThresholdDepolarizing channel has positive quantum capacity for p < 1/4. - quantum_
reed_ muller_ code_ ty QuantumReedMullerCode : Nat β Nat β TypeQuantum Reed-Muller code [[2^m, k, d]] from two RM codes.- quantum_
shannon_ theorem_ ty - Theorem:
QuantumShannonTheoremQ(N) = lim_{nββ} (1/n) max_Ο I_c(Ο, N^βn). - quantum_
singleton_ bound_ ty - Theorem:
QuantumSingletonBoundFor an [[n,k,d]] code: k β€ n - 4(d-1) (quantum Singleton bound). - real_ty
- reed_
muller_ code_ ty ReedMullerCode : Nat β Nat β TypeClassical Reed-Muller code R(r, m) with parameters [2^m, β_{iβ€r} C(m,i), 2^{m-r}].- rm_
code_ concatenation_ ty RMCodeConcatenation : Nat β Nat β Nat β TypeConcatenated RM code achieving fault-tolerance with transversal gates.- rm_
code_ distance_ ty - Theorem:
RMCodeDistanceQuantum RM code [[2^m, 1, 2^{m-r}]] has distance 2^{m-r}. - rm_
transversal_ t_ ty RMTransversalT : Nat β Nat β PropRM code CSS construction admits transversal T gate for appropriate r, m.- rm_
transversal_ universal_ ty - Theorem:
RMTransversalUniversalConcatenating two different RM codes yields a transversally universal gate set. - shor_
bit_ flip_ code_ ty ShorBitFlipCode : TypeThe 3-qubit bit-flip repetition code (inner code of Shor).- shor_
code_ ty ShorCode : TypeThe 9-qubit Shor code [[9,1,3]]: first quantum error correcting code.- shor_
corrects_ single_ errors_ ty - Theorem:
ShorCorrectsSingleErrorsThe Shor code corrects any single-qubit error (X, Y, or Z). - shor_
is_ css_ ty - Theorem:
ShorIsCSSThe Shor code is a CSS code. - shor_
logical_ one_ ty ShorLogicalOne : ShorCode β Type|1Μβ© = (|000β©β|111β©)^β3 / 2^{3/2}.- shor_
logical_ zero_ ty ShorLogicalZero : ShorCode β Type|0Μβ© = (|000β©+|111β©)^β3 / 2^{3/2}.- shor_
phase_ flip_ code_ ty ShorPhaseFlipCode : TypeThe 3-qubit phase-flip repetition code (outer code of Shor).- solovay_
kitaev_ approx_ ty SolovayKitaevApprox : Real β NatSolovay-Kitaev theorem: approximation to Ξ΅ requires O(log^c(1/Ξ΅)) gates.- solovay_
kitaev_ theorem_ ty - Theorem:
SolovayKitaevTheoremAny single-qubit unitary can be approximated to Ξ΅ using O(log^{3.97}(1/Ξ΅)) Clifford+T gates. - stabilizer_
code_ ty StabilizerCode : Nat β Nat β Nat β Type[[n, k, d]] stabilizer code: n physical, k logical, distance d.- stabilizer_
group_ ty StabilizerGroup : Nat β Nat β TypeStabilizer group S β€ P_n with k = n - |generators| logical qubits.- steane_
code_ ty SteaneCode : TypeThe [[7,1,3]] Steane code from the [7,4,3] Hamming code.- steane_
corrects_ single_ errors_ ty - Theorem:
SteaneCorrectsSingleErrorsThe Steane [[7,1,3]] code corrects all single-qubit errors. - steane_
h_ matrix_ ty SteaneHMatrix : TypeParity check matrix H of the classical [7,4,3] Hamming code.- steane_
is_ css_ ty - Theorem:
SteaneIsCSSThe Steane code is a CSS code derived from the Hamming code. - steane_
stabilizer_ ty SteaneStabilizer : SteaneCode β Nat β TypeThe i-th stabilizer generator (i = 1..6).- steane_
transversal_ clifford_ ty - Theorem:
SteaneTransversalCliffordThe Steane code has transversal H, S, and CNOT gates. - subsystem_
code_ correction_ ty - Theorem:
SubsystemCodeCorrectionA subsystem code corrects E iff the operator QEC conditions hold for gauge-reduced errors. - subsystem_
code_ ty SubsystemCode : Nat β Nat β Nat β Nat β Type[[n, k, r, d]] subsystem (operator) code with k logical and r gauge qubits.- surface_
code_ distance_ ty - Theorem:
SurfaceCodeDistanceThe surface code [[dΒ², 1, d]] has code distance d (minimum weight logical). - surface_
code_ logical_ ty SurfaceCodeLogical : Nat β TypeLogical X and Z operators as homologically non-trivial paths on the lattice.- surface_
code_ plaquette_ ty SurfaceCodePlaquette : Nat β TypePlaquette operators B_p = β_{eβp} Z_e for the surface code.- surface_
code_ threshold_ ty - Theorem:
SurfaceCodeThresholdSurface code has a fault-tolerance threshold ~1% under local noise. - surface_
code_ ty SurfaceCode : Nat β TypeDistance-d surface code [[dΒ², 1, d]] on a dΓd planar lattice.- surface_
code_ vertex_ ty SurfaceCodeVertex : Nat β TypeVertex (star) operators A_v = β_{eβv} X_e for the surface code.- symplectic_
representation_ ty SymplecticRepresentation : Nat β TypeSymplectic representation of an n-qubit Pauli over FβΒ²βΏ.- t_
count_ optimality_ ty - Theorem:
TCountOptimalityMinimizing T-count in Clifford+T circuits is #P-hard in general. - t_
state_ ty TState : TypeThe T-gate magic state |Tβ© = T|+β© = (|0β© + e^{iΟ/4}|1β©)/β2.- teleported_
gate_ ty TeleportedGate : TypeGate teleportation using ancilla resource states.- threshold_
theorem_ ty - Theorem:
ThresholdTheoremIf physical error rate p < p_th then logical error rate can be made arbitrarily small. - threshold_
upper_ bound_ ty - Theorem:
ThresholdUpperBoundNo fault-tolerance threshold exists above 50% for arbitrary noise models. - toric_
code_ anyons_ ty - Theorem:
ToricCodeAnyonsExcitations of toric code are Abelian anyons (e and m particles). - toric_
code_ ty ToricCode : Nat β TypeDistance-d toric code [[2dΒ², 2, d]] on a torus (Kitaevβs toric code).- transversal_
clifford_ css_ ty - Theorem:
TransversalCliffordCSSCSS codes admit transversal Clifford gates. - transversal_
gate_ ty TransversalGate : TypeA gate applied independently to each physical qubit in the code block.- type0
- union_
find_ decoder_ ty UnionFindDecoder : Nat β TypeUnion-find decoder achieving near-linear decoding time.- weight_
pauli_ ty WeightPauli : PauliGroup n β NatNumber of non-identity tensor factors (Hamming weight).