The concrete coordinate splits for nested CL registers #
def
MIPRE.Introspection.ambientSplit
{ι : Type u_1}
{F : Type u_2}
[Fintype ι]
[DecidableEq ι]
(V : Finset ι)
:
Splitting an ambient assignment into a register and its complement.
Equations
- One or more equations did not get rendered due to their size.
Instances For
noncomputable def
MIPRE.Introspection.coordinateSplit
{ι : Type u_1}
{F : Type u_2}
[DecidableEq ι]
(U V : Finset ι)
(hUV : U ⊆ V)
:
Split V into the selected coordinates U, enumerated by Fin, and V \ U.
This is an actual coordinate restriction and assembly, rather than a cardinality choice.
Equations
- One or more equations did not get rendered due to their size.
Instances For
noncomputable def
MIPRE.Introspection.coordinateInsert
{ι : Type u_1}
{F : Type u_2}
[DecidableEq ι]
[Field F]
(U : Finset ι)
:
Insert an enumerated vector into its ambient register, setting all other coordinates to zero.
Equations
- MIPRE.Introspection.coordinateInsert U = { toFun := fun (v : Fin (Fintype.card ↥U) → F) (i : ι) => if h : i ∈ U then v ((Fintype.equivFin ↥U) ⟨i, h⟩) else 0, map_add' := ⋯, map_smul' := ⋯ }
Instances For
noncomputable def
MIPRE.Introspection.coordinateRestrict
{ι : Type u_1}
{F : Type u_2}
[Field F]
(U : Finset ι)
:
Restrict the ambient assignment to the enumerated register.
Equations
- MIPRE.Introspection.coordinateRestrict U = { toFun := fun (v : ι → F) (j : Fin (Fintype.card ↥U)) => v ↑((Fintype.equivFin ↥U).symm j), map_add' := ⋯, map_smul' := ⋯ }
Instances For
@[simp]
theorem
MIPRE.Introspection.coordinateRestrict_insert
{ι : Type u_1}
{F : Type u_2}
[Fintype ι]
[DecidableEq ι]
[Field F]
(U : Finset ι)
(v : Fin (Fintype.card ↥U) → F)
:
theorem
MIPRE.Introspection.coordinateInsert_restrict
{ι : Type u_1}
{F : Type u_2}
[Fintype ι]
[DecidableEq ι]
[Field F]
(U : Finset ι)
(v : ι → F)
:
noncomputable def
MIPRE.Introspection.coordinateLinear
{ι : Type u_1}
{F : Type u_2}
[DecidableEq ι]
[Field F]
{U : Finset ι}
(L : CL.RegLinear F U)
:
The paper's map on U in the coordinate presentation used by the Pauli library.
Equations
Instances For
theorem
MIPRE.Introspection.coordinateLinear_restrict
{ι : Type u_1}
{F : Type u_2}
[Fintype ι]
[DecidableEq ι]
[Field F]
{U : Finset ι}
(L : CL.RegLinear F U)
(v : ι → F)
:
Restricting the ambient CL linear map commutes with passing to register coordinates.
theorem
MIPRE.Introspection.coordinateInsert_linear
{ι : Type u_1}
{F : Type u_2}
[Fintype ι]
[DecidableEq ι]
[Field F]
{U : Finset ι}
(L : CL.RegLinear F U)
(v : Fin (Fintype.card ↥U) → F)
:
Reassembling the coordinate result recovers the original CL linear map exactly.