Documentation

QEC1.Remarks.Rem_14_ParallelGaugingMeasurement

Remark 14: Parallel Gauging Measurement #

Statement #

The gauging measurement (Definition 5) can be applied to multiple logical operators in parallel, subject to compatibility conditions:

  1. Non-overlapping support: If logical operators L₁, …, Lₘ have disjoint supports, they can be gauged simultaneously with independent graphs G₁, …, Gₘ.

  2. Same-type overlapping support: If Lᵢ and Lⱼ share support where both act by the same Pauli type on every shared qubit, they can be gauged in parallel.

  3. LDPC constraint: At most a constant number of logical operators should share support on any single qubit to maintain the LDPC property.

  4. Time-space tradeoff: Measuring 2m-1 copies in parallel with ⌈d/m⌉ rounds and majority vote trades time for space.

Main Results #

Part 1: Non-overlapping support — Disjoint supports imply commutation #

Two Pauli operators have disjoint supports if no qubit belongs to both supports.

Equations
Instances For

    A family of logical operators has pairwise disjoint supports.

    Equations
    Instances For

      Operators with disjoint supports commute: if P and Q act on disjoint qubits, their symplectic inner product vanishes.

      Multiple operators with pairwise disjoint supports all pairwise commute.

      Disjoint supports are symmetric.

      Disjoint supports with identity.

      Part 2: Same-type overlapping support #

      Two Pauli operators have same-type X overlap if on every shared support qubit, both have X-type action (xVec ≠ 0) and neither has Z-type action (zVec = 0).

      Equations
      Instances For

        Two Pauli operators have same-type Z overlap if on every shared support qubit, both have Z-type action (zVec ≠ 0) and neither has X-type action (xVec = 0).

        Equations
        Instances For

          Two Pauli operators have same-type overlap if on every shared support qubit, both act by the same Pauli type (both X or both Z). Equivalently: on shared qubits, either both have zero Z-component or both have zero X-component.

          Equations
          Instances For

            Same-type X overlap implies same-type overlap.

            Same-type Z overlap implies same-type overlap.

            Disjoint supports imply same-type overlap vacuously.

            Same-type overlap implies commutation: if P and Q share support only with the same Pauli type on each shared qubit, their symplectic inner product vanishes (each shared qubit contributes 0 to the sum).

            The Gauss's law operator A_v is pure X-type, so any pure X-type logical operator has same-type X overlap with it on the extended system.

            theorem ParallelGaugingMeasurement.pure_X_sameType_overlap {V : Type u_1} [Fintype V] [DecidableEq V] (P Q : PauliOp V) (hP : P.zVec = 0) (hQ : Q.zVec = 0) :

            For a pure X-type operator (zVec = 0), same-type X overlap with any other pure X-type operator holds automatically.

            theorem ParallelGaugingMeasurement.pure_X_commute {V : Type u_1} [Fintype V] [DecidableEq V] (P Q : PauliOp V) (hP : P.zVec = 0) (hQ : Q.zVec = 0) :

            Pure X-type operators commute (special case of same-type overlap).

            theorem ParallelGaugingMeasurement.pure_Z_commute {V : Type u_1} [Fintype V] [DecidableEq V] (P Q : PauliOp V) (hP : P.xVec = 0) (hQ : Q.xVec = 0) :

            Pure Z-type operators commute (special case of same-type overlap).

            Part 3: LDPC constraint for parallel gauging #

            def ParallelGaugingMeasurement.qubitParticipationCount {V : Type u_1} [Fintype V] [DecidableEq V] {m : } (ops : Fin mPauliOp V) (v : V) :

            The qubit participation count for parallel gauging: the number of logical operators (from a family) whose support contains qubit v.

            Equations
            Instances For
              def ParallelGaugingMeasurement.ParallelLDPCBound {V : Type u_1} [Fintype V] [DecidableEq V] {m : } (ops : Fin mPauliOp V) (c : ) :

              The LDPC bound for parallel gauging: each qubit participates in at most c logical operators' supports.

              Equations
              Instances For

                For disjoint supports, the participation count is at most 1.

                Disjoint supports trivially satisfy the LDPC bound with c = 1.

                The participation count is bounded by the total number of operators.

                theorem ParallelGaugingMeasurement.sum_participation_eq_sum_support {V : Type u_1} [Fintype V] [DecidableEq V] {m : } (ops : Fin mPauliOp V) :
                v : V, qubitParticipationCount ops v = i : Fin m, (ops i).support.card

                The sum of participation counts equals the sum of support sizes.

                theorem ParallelGaugingMeasurement.parallel_qubit_degree_bound {V : Type u_1} [Fintype V] [DecidableEq V] {m : } (ops : Fin mPauliOp V) (c : ) (hbound : ParallelLDPCBound ops c) (v : V) :

                When the LDPC bound holds with constant c, the contribution of each qubit to the total check degree of the deformed code from parallel gauging is bounded.

                Part 4: Time-space tradeoff #

                The number of parallel copies in the time-space tradeoff: 2m - 1 for m ≥ 1. Each copy is an equivalent logical representative with its own gauging graph.

                Equations
                Instances For

                  The number of rounds in the time-space tradeoff: ⌈d/m⌉ for distance d and parameter m. This is the ceiling division.

                  Equations
                  Instances For
                    @[simp]

                    numCopies 1 = 1: no parallelism, standard case.

                    @[simp]

                    numRounds d 1 = d: no parallelism, standard number of rounds.

                    numCopies is always positive for m ≥ 1.

                    numCopies is odd: 2m - 1 is always odd for m ≥ 1.

                    theorem ParallelGaugingMeasurement.numRounds_pos {d m : } (hd : 0 < d) (hm : 0 < m) :
                    0 < numRounds d m

                    numRounds is always positive when d > 0 and m > 0.

                    theorem ParallelGaugingMeasurement.numRounds_le {d m : } (hm : 1 m) :

                    numRounds is at most d (we never need more rounds than the original).

                    The key tradeoff: numCopies * numRounds ≥ d.

                    theorem ParallelGaugingMeasurement.qubit_overhead_factor (n m : ) (_hm : 1 m) :
                    numCopies m * n = (2 * m - 1) * n

                    The qubit overhead factor: using 2m-1 copies multiplies the qubit count.

                    theorem ParallelGaugingMeasurement.numCopies_monotone {m₁ m₂ : } (hm : m₁ m₂) :

                    As m increases, numCopies increases (monotonicity).

                    theorem ParallelGaugingMeasurement.numRounds_antitone {d m₁ m₂ : } (hm : m₁ m₂) (hm₁ : 0 < m₁) :
                    numRounds d m₂ numRounds d m₁

                    numRounds is antitonically related to m for fixed d: larger m means fewer rounds.

                    Majority vote correctness #

                    The majority vote threshold: more than half of 2m-1 copies must agree.

                    Equations
                    Instances For

                      The majority threshold is always a strict majority of numCopies.

                      The majority threshold is at most numCopies.

                      theorem ParallelGaugingMeasurement.majority_vote_correct (m : ) (hm : 1 m) (agree total : ) (htotal : total = numCopies m) (hagree : m agree) (hle : agree total) :
                      2 * agree > total

                      If at least m out of 2m-1 copies give outcome σ, the majority vote returns σ. Here we prove the combinatorial fact: a set of at least m elements out of 2m-1 total constitutes a strict majority.

                      theorem ParallelGaugingMeasurement.minority_vote_bound (m : ) (hm : 1 m) (agree total : ) (htotal : total = numCopies m) (hagree : m agree) (hle : agree total) :
                      total - agree < m

                      The complement: if at least m out of 2m-1 agree, the minority has fewer than m.

                      Combined properties #

                      theorem ParallelGaugingMeasurement.disjoint_parallel_gauging_compatible {V : Type u_1} [Fintype V] [DecidableEq V] {m : } (ops : Fin mPauliOp V) (h : PairwiseDisjointSupports ops) :
                      (∀ (i j : Fin m), (ops i).PauliCommute (ops j)) ParallelLDPCBound ops 1

                      Summary: for pairwise disjoint supports, all conditions for parallel gauging are automatically satisfied (commutation + LDPC with c = 1).

                      For any m ≥ 1, the time-space tradeoff reduces rounds from d to ⌈d/m⌉ at the cost of (2m-1) copies.

                      Special case: m = 1 (no parallelism). One copy, d rounds.

                      Special case: m = d (maximum parallelism). 2d-1 copies, 1 round.

                      The overhead ratio: additional copies are 2(m-1).