Documentation

LeanPool.SingleCopyStabilizer.CNOTAction

Arbitrary-qubit simultaneous CNOT action and its exact Pauli covariance. The basis permutation is x ↦ x - xᵢ w, with wᵢ=0; over F₂ this is the product of CNOTs controlled by i and targeted at the support of w.

The invertible coordinate shear underlying simultaneous controlled-NOT gates.

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

    Pull amplitudes back along the inverse controlled shear.

    Equations
    Instances For
      theorem LeanPool.SingleCopyStabilizer.CNOTAction.inverse_pairing {ι : Type u_1} [Fintype ι] [DecidableEq ι] (i : ι) (w : Measurement.Bits ι) (hw : w i = 0) (v x : Measurement.Bits ι) :
      shearZ i w v ⬝ᵥ x = v ⬝ᵥ (basisShear i w hw).symm x

      Exact covariance of the concrete basis-permutation action.

      theorem LeanPool.SingleCopyStabilizer.CNOTAction.transports_eigenvector {ι : Type u_1} [Fintype ι] [DecidableEq ι] (i : ι) (w : Measurement.Bits ι) (hw : w i = 0) (ψ : Measurement.Amplitude ι) (u v : Measurement.Bits ι) (ζ : ℂ) (heig : Measurement.IsPauliEigenvector ψ u v ζ) :

      Every Pauli eigenlabel is transported by the shear used in the paper.

      theorem LeanPool.SingleCopyStabilizer.CNOTAction.inverse_action {ι : Type u_1} (i : ι) (w : Measurement.Bits ι) (hw : w i = 0) (ψ : Measurement.Amplitude ι) :
      (fun (x : Measurement.Bits ι) => applyCNOTs i w hw ψ ((basisShear i w hw) x)) = ψ

      Explicit two-sided inverse, needed when the learned circuit is undone.