Documentation

LeanPool.SingleCopyStabilizer.CliffordAction

Actual arbitrary-qubit local phase and Hadamard actions on amplitudes.

Every residue modulo two is zero or one.

Scalar phase contributed by a computational-basis bit under an S gate.

Equations
Instances For
    theorem LeanPool.SingleCopyStabilizer.CliffordAction.update_sub {ι : Type u_1} [DecidableEq ι] (x u : Measurement.Bits ι) (i : ι) (b : ZMod 2) :
    Function.update x i b - u = Function.update (x - u) i (b - u i)
    theorem LeanPool.SingleCopyStabilizer.CliffordAction.sub_update {ι : Type u_1} [DecidableEq ι] (x u : Measurement.Bits ι) (i : ι) (b : ZMod 2) :
    x - Function.update u i b = Function.update (x - u) i (x i - b)
    theorem LeanPool.SingleCopyStabilizer.CliffordAction.dot_update_left {ι : Type u_1} [Fintype ι] [DecidableEq ι] (u v : Measurement.Bits ι) (i : ι) (b : ZMod 2) :
    Function.update u i b ⬝ᵥ v = u ⬝ᵥ v + (b - u i) * v i
    theorem LeanPool.SingleCopyStabilizer.CliffordAction.dot_update_right {ι : Type u_1} [Fintype ι] [DecidableEq ι] (u v : Measurement.Bits ι) (i : ι) (b : ZMod 2) :
    u ⬝ᵥ Function.update v i b = u ⬝ᵥ v + u i * (b - v i)

    The Z-label update under conjugation by a local S gate.

    Equations
    Instances For

      Apply H at one site through its two-term amplitude formula.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Replace the selected X label by its old Z label.

        Equations
        Instances For

          Replace the selected Z label by its old X label.

          Equations
          Instances For
            theorem LeanPool.SingleCopyStabilizer.CliffordAction.sum_update_pair {ι : Type u_1} [Fintype ι] [DecidableEq ι] (i : ι) (f : Measurement.Bits ι → ℝ) :
            ∑ x : ι → ZMod 2, (f (Function.update x i 0) + f (Function.update x i 1)) = 2 * ∑ x : Measurement.Bits ι, f x

            H is a bijection on the full amplitude space, with itself as inverse.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              S is a bijection on the full amplitude space with the explicit S† inverse.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                The complex-linear involution induced by H at a selected site.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  The complex-linear equivalence induced by S at a selected site.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For