Rem_2: Graph Convention #
Statement #
Given a connected graph $G = (V_G, E_G)$ with vertex set $V_G$ and edge set $E_G$, we identify the vertices of $G$ with the qubits in the support of the logical operator $L$. For each edge $e \in E_G$, we introduce an auxiliary 'gauge qubit' initialized in the state $|0\rangle_e$. The graph $G$ may also include additional 'dummy vertices' beyond the qubits in the support of $L$. For each dummy vertex $v$, we add an auxiliary qubit initialized in the $|+\rangle$ state and gauge the operator $L \cdot X_v$. These dummy vertices have no effect on the gauging measurement outcome since measuring $X_v$ on a $|+\rangle$ state always returns $+1$.
Main Definitions #
GaugingGraphConvention: The convention for a gauging graph relating G to logical operator LQubitType: Classification of qubits (logical, edge, dummy)InitialState: The initial quantum state for each qubit typeDummyVertexMeasurementOutcome: The measurement outcome for dummy vertices is always +1
Key Properties #
vertex_qubit_correspondence: Vertices are identified with logical support qubitsedge_qubit_initialization: Edge qubits are initialized in |0⟩dummy_vertex_initialization: Dummy qubits are initialized in |+⟩dummy_measurement_always_plus_one: Measuring X on |+⟩ always returns +1
Qubit Types in the Gauging Protocol #
The different types of qubits involved in the gauging measurement protocol
- LogicalSupport : QubitType
Original code qubits in the support of L
- EdgeQubit : QubitType
Auxiliary gauge qubits on edges, initialized in |0⟩
- DummyQubit : QubitType
Auxiliary qubits for dummy vertices, initialized in |+⟩
Instances For
Equations
- instReprQubitType.repr QubitType.LogicalSupport prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "QubitType.LogicalSupport")).group prec✝
- instReprQubitType.repr QubitType.EdgeQubit prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "QubitType.EdgeQubit")).group prec✝
- instReprQubitType.repr QubitType.DummyQubit prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "QubitType.DummyQubit")).group prec✝
Instances For
Equations
- instReprQubitType = { reprPrec := instReprQubitType.repr }
The initial state for each qubit type
- zero : InitialState
The |0⟩ state (computational basis zero)
- plus : InitialState
The |+⟩ state ((|0⟩ + |1⟩)/√2)
- encoded : InitialState
Unspecified (for logical qubits, depends on encoded state)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
The initial state for each qubit type in the gauging protocol
Equations
Instances For
Measurement Outcomes #
Possible measurement outcomes for X-basis measurements
- plus : GraphMeasurementOutcome
Outcome +1
- minus : GraphMeasurementOutcome
Outcome -1
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Convert measurement outcome to a sign (±1 as integer)
Equations
Instances For
Multiplication of measurement outcomes (product of signs)
Equations
Instances For
Equations
Equations
Key Property: X measurement on |+⟩ always returns +1 #
The key property that measuring X on the |+⟩ state always yields +1. This is because |+⟩ is the +1 eigenstate of the Pauli X operator: X|+⟩ = |+⟩ (eigenvalue +1)
Instances For
Theorem: X measurement on |+⟩ always returns +1
The deterministic outcome property: measuring X on |+⟩ has probability 1 for +1 outcome
- is_plus_state : QubitType.InitialState
The state is |+⟩ (X eigenstate with eigenvalue +1)
The state condition
- outcome : GraphMeasurementOutcome
The measurement outcome is deterministically +1
Outcome is always +1
Instances For
Gauging Graph Convention Structure #
A gauging graph convention specifies how a connected graph G relates to the logical operator L being measured. This captures the key conventions from Rem_2:
- Vertices of G are identified with qubits in supp(L)
- Each edge e ∈ E_G gets an auxiliary gauge qubit in |0⟩
- Dummy vertices (V_G \ supp(L)) get auxiliary qubits in |+⟩
- Dummy vertices have no effect on measurement outcome (X on |+⟩ → +1)
- Vertex : Type
The vertex type of the graph
Vertices form a finite type
- vertexDecEq : DecidableEq self.Vertex
Decidable equality on vertices
- graph : SimpleGraph self.Vertex
The simple graph structure
- adjDecidable : DecidableRel self.graph.Adj
Decidable adjacency
The graph is connected
The support set of the logical operator L (embedded in vertices)
- support_nonempty : self.logicalSupport.Nonempty
The logical support is nonempty (L is nontrivial)
Instances For
Vertex Classification #
A vertex is a support vertex if it corresponds to a qubit in supp(L)
Equations
- G.isSupportVertex v = (v ∈ G.logicalSupport)
Instances For
A vertex is a dummy vertex if it's not in the logical support
Equations
- G.isDummyVertex v = (v ∉ G.logicalSupport)
Instances For
Decidability of support vertex membership
Equations
- G.instDecidableIsSupportVertex v = inferInstanceAs (Decidable (v ∈ G.logicalSupport))
Decidability of dummy vertex membership
Equations
- G.instDecidableIsDummyVertex v = inferInstanceAs (Decidable (v ∉ G.logicalSupport))
Every vertex is either a support vertex or a dummy vertex
Support and dummy vertices are mutually exclusive
The number of dummy vertices
Equations
Instances For
Vertices partition into support and dummy
Qubit Type Assignment #
Assign a qubit type to each vertex
Equations
Instances For
Support vertices are assigned LogicalSupport type
Dummy vertices are assigned DummyQubit type
All edges are assigned EdgeQubit type
Equations
Instances For
Initial States #
The initial state for a vertex qubit
Equations
- G.vertexInitialState v = (G.vertexQubitType v).initialState
Instances For
The initial state for an edge qubit
Equations
Instances For
Dummy vertex qubits are initialized in |+⟩
Edge qubits are initialized in |0⟩
Dummy Vertex Measurement Property #
The key property: measuring X on a dummy vertex always gives +1. This is because the dummy qubit is in |+⟩, which is the +1 eigenstate of X.
Equations
Instances For
Measuring X on any dummy vertex returns +1
The product of measurement outcomes over dummy vertices is +1. This is formulated using integers since GraphMeasurementOutcome doesn't have CommMonoid.
Edge and Qubit Counts #
The number of edges in the graph (= number of gauge qubits)
Equations
- G.numEdges = G.graph.edgeFinset.card
Instances For
The total number of auxiliary qubits = edge qubits + dummy qubits
Equations
Instances For
The total number of qubits involved = logical support + auxiliary
Equations
Instances For
Total qubits formula expanded
Gauging Operator Extension #
When gauging L with dummy vertices, we actually gauge L · ∏_{v ∈ dummy} X_v. Since each dummy vertex measurement gives +1, this doesn't change the outcome.
This captures: "gauge the operator L · X_v" for each dummy vertex v.
Equations
Instances For
The effective logical support includes all vertices (support ∪ dummy)
The effective logical support contains the original logical support
Key Theorem: Dummy Vertices Don't Affect Outcome #
The main theorem of this remark: dummy vertices have no effect on the gauging measurement outcome because:
- Each dummy vertex v has qubit initialized in |+⟩
- The gauging measures X_v on the dummy qubit
- Measuring X on |+⟩ always returns +1
- Therefore, the product over dummy vertices contributes factor 1
Alternative formulation: the contribution of dummy vertices to the measurement outcome is the neutral element
Summary of Convention #
The graph convention establishes:
- Vertex-Qubit Correspondence: Vertices V_G ↔ qubits, with supp(L) ⊆ V_G
- Edge Qubits: Each edge e ∈ E_G gets an auxiliary qubit initialized in |0⟩
- Dummy Vertices: Vertices in V_G \ supp(L) get auxiliary qubits in |+⟩
- No-Effect Property: Dummy vertices don't affect measurement outcome because measuring X on |+⟩ deterministically gives +1
This convention allows the gauging graph to be larger than supp(L), enabling graph constructions that satisfy expansion and path-length requirements while maintaining the correctness of the logical measurement.