Rem_10: Parallelization of Gauging Measurements #
Statement #
The gauging measurement can be applied to multiple logical operators in parallel, provided that:
Commutativity: No pair of logical operators being measured simultaneously act on a common qubit via different non-trivial Pauli operators (e.g., one acts by $X$ and another by $Z$ on the same qubit).
Bounded overlap: To maintain an LDPC code during code deformation, only a constant number of logical operators being measured share support on any single qubit.
For codes supporting many disjoint logical representatives, this offers highly parallelized logical gates. Additionally, one can trade space overhead for time overhead by performing $2m-1$ measurements of equivalent logical operators in parallel for $d/m$ rounds and taking a majority vote to determine the classical outcome.
Main Definitions #
PauliCompatible: Two logical operators are Pauli-compatible on a qubitCommutativityCondition: No pair acts differently on a common qubit (Condition 1)BoundedOverlapCondition: At most k operators share any qubit (Condition 2)ParallelizableLogicals: A set of logicals satisfying both conditionsSpaceTimeTradeoff: The space-time tradeoff parameters
Main Results #
parallel_measurement_conditions: The two conditions for parallel measurementdisjoint_logicals_parallelizable: Disjoint logicals trivially satisfy parallelizabilitymajority_vote_rounds: The number of rounds for majority voting is d/mtotal_parallel_measurements: Total parallel measurements is 2m-1
Pauli Compatibility Condition #
Two Pauli types are compatible if they don't conflict on the same qubit. A conflict occurs when one acts as purely X-type and the other as purely Z-type. (e.g., X and Z conflict, but X and X are compatible, I and anything is compatible)
Compatible means: NOT (one is purely X-type AND the other is purely Z-type).
Equations
- QEC1.StabPauliType.compatible p q = (¬(p = StabPauliType.X ∧ q = StabPauliType.Z) ∧ ¬(p = StabPauliType.Z ∧ q = StabPauliType.X))
Instances For
X and Z are incompatible
Z and X are incompatible
Same Pauli types are always compatible
Identity is compatible with everything
Compatibility is symmetric
Condition 1: Commutativity (Pauli Compatibility on Shared Qubits) #
Two Pauli operators are Pauli-compatible if for every qubit where both act nontrivially, their Pauli types are compatible (i.e., not one X-type and one Z-type).
Equations
- QEC1.PauliCompatible P Q = ∀ (i : Fin n), QEC1.StabPauliType.compatible (P.paulis i) (Q.paulis i)
Instances For
Pauli compatibility implies the operators can be measured in parallel without conflict
The identity operator is compatible with any operator
Commutativity Condition for parallel gauging measurement: A set of logical operators satisfies the commutativity condition if every pair is Pauli-compatible on their shared support.
Equations
- QEC1.CommutativityCondition logicals = ∀ L₁ ∈ logicals, ∀ L₂ ∈ logicals, QEC1.PauliCompatible L₁.op L₂.op
Instances For
Singleton sets trivially satisfy commutativity
Condition 2: Bounded Overlap #
The overlap degree of a qubit with respect to a set of operators: how many operators in the set have support on this qubit.
Instances For
Bounded Overlap Condition: At most k logical operators share support on any single qubit. This is required to maintain LDPC property during code deformation.
Equations
- QEC1.BoundedOverlapCondition logicals k = ∀ (i : Fin C.n), QEC1.overlapDegree logicals i ≤ k
Instances For
If k ≥ |logicals|, the bounded overlap condition is trivially satisfied
Singleton sets have overlap degree at most 1
Parallelizable Logicals #
A set of logical operators is parallelizable if it satisfies both conditions:
- Commutativity: no pair acts differently (X vs Z) on a common qubit
- Bounded overlap: at most k operators share any qubit
The bound k must be constant to maintain LDPC property.
The set of logical operators to measure in parallel
- overlapBound : ℕ
The bound on overlap degree (must be constant for LDPC)
- commutativity : CommutativityCondition self.logicals
Condition 1: Commutativity
- boundedOverlap : BoundedOverlapCondition self.logicals self.overlapBound
Condition 2: Bounded overlap
Instances For
The number of logical operators being measured in parallel
Equations
- P.numLogicals = P.logicals.card
Instances For
Any single logical operator is trivially parallelizable
Equations
Instances For
Disjoint Logicals #
Two logical operators have disjoint support if they share no qubits.
Instances For
A set of logicals has pairwise disjoint support if every pair is disjoint.
Equations
- QEC1.PairwiseDisjointSupport logicals = ∀ L₁ ∈ logicals, ∀ L₂ ∈ logicals, L₁ ≠ L₂ → QEC1.DisjointSupport L₁ L₂
Instances For
Disjoint operators are Pauli-compatible (vacuously, no shared qubit).
Pairwise disjoint logicals satisfy the commutativity condition.
Pairwise disjoint logicals have overlap degree at most 1 everywhere.
Disjoint logicals are parallelizable: codes with many disjoint logical representatives can perform highly parallelized logical gates.
Equations
- QEC1.ParallelizableLogicals.fromDisjoint logicals h = { logicals := logicals, overlapBound := 1, commutativity := ⋯, boundedOverlap := ⋯ }
Instances For
Space-Time Tradeoff #
Space-Time Tradeoff for the gauging measurement.
One can trade space overhead for time overhead:
- Perform 2m-1 measurements of equivalent logical operators in parallel
- For d/m rounds
- Take a majority vote to determine the classical outcome
Parameters:
- d: the code distance
- m: the tradeoff parameter (divides d)
- The number of parallel equivalent measurements is 2m-1
- The number of rounds is d/m
- distance : ℕ
Code distance
- m : ℕ
Tradeoff parameter
m must be positive
m divides d (for clean arithmetic)
Instances For
Number of parallel measurements of equivalent logical operators: 2m - 1
Equations
- T.numParallelMeasurements = 2 * T.m - 1
Instances For
Number of rounds for the measurement: d/m
Instances For
When m divides d, numRounds * m = d
The majority vote threshold: more than half of 2m-1 measurements, i.e., at least m
Equations
- T.majorityThreshold = T.m
Instances For
Majority threshold is exactly half of 2m-1 rounded up
Total logical measurements across all rounds
Equations
Instances For
The total measurements formula: (2m-1) * (d/m)
Special cases #
Minimal space overhead: m = d, giving 2d-1 parallel measurements in 1 round
Equations
- QEC1.SpaceTimeTradeoff.minSpace d hd = { distance := d, m := d, m_pos := hd, m_divides_d := ⋯ }
Instances For
Minimal time overhead: m = 1, giving 1 parallel measurement in d rounds
Equations
- QEC1.SpaceTimeTradeoff.minTime d _hd = { distance := d, m := 1, m_pos := Nat.one_pos, m_divides_d := ⋯ }
Instances For
Combined Parallelization Theorem #
The parallelization theorem: gauging measurement can be applied to multiple logical operators in parallel if and only if both conditions are satisfied.
Condition 1 (Commutativity): No pair acts by different non-trivial Paulis on any qubit. Condition 2 (Bounded Overlap): At most k operators share support on any qubit.
This theorem captures the main claim of Rem_10.
Majority Vote Correctness #
For the space-time tradeoff: (2m-1) is always odd, ensuring a clear majority.
The majority vote always gives a definite outcome (no ties possible).
Summary #
The parallelization remark establishes:
Commutativity Condition: For parallel measurement, no pair of logical operators should act on a common qubit via different non-trivial Paulis (e.g., X vs Z).
Bounded Overlap Condition: To maintain LDPC property during code deformation, at most a constant number of logicals can share support on any single qubit.
Disjoint Representatives: Codes with many disjoint logical representatives naturally satisfy both conditions (overlap degree 1).
Space-Time Tradeoff: One can trade space for time:
- 2m-1 parallel measurements of equivalent logicals
- d/m rounds of measurement
- Majority vote determines the classical outcome