Documentation

QEC1.Definitions.Def_12_TimeStepConvention

Def_12: Time Step Convention #

Statement #

We use a half-integer time step convention for the fault-tolerant gauging measurement procedure:

Integer time steps $t = 0, 1, 2, \ldots$: Associated with qubit states and Pauli space-errors. A Pauli error 'at time $t$' affects the state between measurement rounds at times $t - \frac{1}{2}$ and $t + \frac{1}{2}$.

Half-integer time steps $t + \frac{1}{2}$: Associated with measurements and measurement errors. A measurement 'at time $t + \frac{1}{2}$' occurs between qubit states at times $t$ and $t + 1$.

Key time points:

Main Definitions #

Key Properties #

Half-Integer Time Representation #

We represent time as either an integer (for qubit states) or a half-integer (for measurements). A half-integer n + 1/2 is represented by storing the integer n.

We use ℤ to allow negative times for generality (though in practice we mostly use t ≥ 0).

A half-integer time representation.

  • integer n represents the integer time step n
  • halfInteger n represents the half-integer time step n + 1/2
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Convert to a rational number for comparison

      Equations
      Instances For

        Get the integer part (floor)

        Equations
        Instances For

          Get the integer part rounded up (ceiling)

          Equations
          Instances For
            @[simp]

            Linear ordering on half-integer times

            Equations
            Equations

            Integer time n comes before half-integer time n + 1/2

            Half-integer time n + 1/2 comes before integer time n + 1

            @[simp]

            succ and pred are inverses

            Integer Time Steps (Qubit States) #

            Integer time steps t = 0, 1, 2, ... are associated with qubit states and Pauli space-errors. A Pauli error 'at time t' affects the state between measurement rounds at times t - 1/2 and t + 1/2.

            @[reducible, inline]

            An integer time step, associated with qubit states and space-errors

            Equations
            Instances For

              Convert a natural number time step to an integer time step

              Equations
              Instances For

                Convert an integer time step to a HalfIntegerTime

                Equations
                Instances For

                  Half-Integer Time Steps (Measurements) #

                  Half-integer time steps t + 1/2 are associated with measurements and measurement errors. A measurement 'at time t + 1/2' occurs between qubit states at times t and t + 1.

                  @[reducible, inline]

                  A half-integer time step (measurements), represented by storing the integer part. Value n represents the time n + 1/2

                  Equations
                  Instances For

                    Convert a measurement time step to a HalfIntegerTime

                    Equations
                    Instances For

                      The measurement time immediately after integer time t is t + 1/2

                      Equations
                      Instances For

                        The measurement time immediately before integer time t is t - 1/2

                        Equations
                        Instances For

                          The integer time immediately after measurement time t + 1/2 is t + 1

                          Equations
                          Instances For

                            The integer time immediately before measurement time t + 1/2 is t

                            Equations
                            Instances For

                              Key Properties: Time Ordering #

                              A measurement at time t + 1/2 occurs between qubit states at times t and t + 1

                              A Pauli error at integer time t affects state between measurements at t - 1/2 and t + 1/2

                              Key Time Points in Gauging Procedure #

                              The gauging measurement procedure has three key time points:

                              Configuration of key time points in the gauging procedure

                              Instances For

                                Duration of the gauging measurement procedure

                                Equations
                                Instances For

                                  Duration of the gauged phase (from tᵢ to tₒ)

                                  Equations
                                  Instances For

                                    First A_v measurement time: tᵢ - 1/2

                                    Equations
                                    Instances For

                                      Second A_v measurement time: tᵢ + 1/2

                                      Equations
                                      Instances For

                                        Last A_v measurement time: tₒ - 1/2

                                        Equations
                                        Instances For

                                          Final A_v measurement time: tₒ + 1/2

                                          Equations
                                          Instances For

                                            The first A_v measurement at tᵢ - 1/2 comes before the integer time tᵢ

                                            The second A_v measurement at tᵢ + 1/2 comes after the integer time tᵢ

                                            Time Step Convention Summary #

                                            The convention establishes a clear relationship between:

                                            1. Integer times (qubit states, Pauli errors)
                                            2. Half-integer times (measurements, measurement errors)

                                            This interleaving ensures that:

                                            The time step convention type

                                            • integerTimesForStates : Bool

                                              Integer times are for qubit states

                                            • halfIntegerTimesForMeasurements : Bool

                                              Half-integer times are for measurements

                                            Instances For

                                              The standard half-integer convention

                                              Equations
                                              Instances For

                                                Association of Fault Types with Time Types #

                                                Space faults (Pauli errors) occur at integer times

                                                Equations
                                                Instances For

                                                  Time faults (measurement errors) occur at half-integer times

                                                  Equations
                                                  Instances For

                                                    A space fault at time t is between measurements at t - 1/2 and t + 1/2

                                                    A measurement fault at time t + 1/2 is between states at t and t + 1

                                                    Ranges of Time Steps #

                                                    Useful predicates and functions for working with ranges of integer and half-integer times.

                                                    The integer time steps in a range [t₁, t₂]

                                                    Equations
                                                    Instances For

                                                      The measurement time steps in a range [t₁ + 1/2, t₂ - 1/2]

                                                      Equations
                                                      Instances For

                                                        All half-integer times between integer times t₁ and t₂

                                                        Equations
                                                        Instances For

                                                          Simp Lemmas for Time Conversions #

                                                          Summary #

                                                          This formalization captures the half-integer time step convention for the fault-tolerant gauging measurement procedure:

                                                          1. Integer time steps (t = 0, 1, 2, ...):

                                                            • Associated with qubit states and Pauli space-errors
                                                            • A Pauli error 'at time t' affects the state between measurements at t - 1/2 and t + 1/2
                                                          2. Half-integer time steps (t + 1/2):

                                                            • Associated with measurements and measurement errors
                                                            • A measurement 'at time t + 1/2' occurs between qubit states at times t and t + 1
                                                          3. Key time points:

                                                            • t₀: Start of the procedure
                                                            • tᵢ: Time of initial gauging (edge initialization, first A_v measurements at tᵢ ± 1/2)
                                                            • tₒ: Time of final ungauging (last A_v measurements, edge readout at tₒ ± 1/2)

                                                          Key properties proven: