Documentation

MIPStarRE.LDT.Test.StrategyRole.Core

Role-register tensor algebra for the low individual degree test #

Role-register operators and strategy symmetrization infrastructure extracted from MIPStarRE.LDT.Test.Strategy.

Role-register tensor algebra #

theorem MIPStarRE.LDT.sum_role_eq_add {α : Type u_1} [AddCommMonoid α] (f : Roleα) :
r : Role, f r = f Role.A + f Role.B

Basis projector onto the role sector r.

Equations
Instances For

    The basis projector onto a role sector is positive semidefinite.

    noncomputable def MIPStarRE.LDT.roleCond {ι : Type u_1} [Fintype ι] [DecidableEq ι] (r : Role) (X : Quantum.Op ι) :

    Tensor an operator with the role projector selecting the r block.

    Equations
    Instances For
      noncomputable def MIPStarRE.LDT.roleBlock {ι : Type u_1} [Fintype ι] [DecidableEq ι] (r : Role) (Y : Quantum.Op (Role × ι)) :

      Principal role block of an operator on the role-register local space.

      Equations
      Instances For
        theorem MIPStarRE.LDT.roleCond_nonneg {ι : Type u_1} [Fintype ι] [DecidableEq ι] (r : Role) {X : Quantum.Op ι} (hX : 0 X) :
        @[simp]
        theorem MIPStarRE.LDT.roleCond_mul_same {ι : Type u_1} [Fintype ι] [DecidableEq ι] (r : Role) (X Y : Quantum.Op ι) :
        roleCond r X * roleCond r Y = roleCond r (X * Y)
        theorem MIPStarRE.LDT.roleCond_finset_sum {α : Type u_1} {ι : Type u_2} [Fintype ι] [DecidableEq ι] (r : Role) (s : Finset α) (f : αQuantum.Op ι) :
        as, roleCond r (f a) = roleCond r (s.sum f)

        Reassociate the role and local-space indices for the role-register symmetrization.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def MIPStarRE.LDT.rolePairProj (rL rR : Role) :

          Basis projector onto a pair of role sectors.

          Equations
          Instances For
            theorem MIPStarRE.LDT.rolePairProj_mul_eq_zero_of_ne (rL rR sL sR : Role) (h : (rL, rR) (sL, sR)) :

            Distinct role-pair sectors have zero product.

            @[simp]

            Orthogonal role-pair sectors AB and BA have zero product.

            @[simp]

            Orthogonal role-pair sectors BA and AB have zero product.

            noncomputable def MIPStarRE.LDT.rolePairCond {ι : Type u_1} [Fintype ι] [DecidableEq ι] (rL rR : Role) (X : Quantum.Op (ι × ι)) :

            Reindex a bipartite local-space operator into the (Role × ι) local spaces and restrict it to the selected role sector.

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

              The projection onto a pair of role sectors is positive semidefinite.

              Swapping the density of a rank-one pure state swaps the underlying state vector.

              noncomputable def MIPStarRE.LDT.classicalRoleSymmState {ι : Type u_1} [Fintype ι] [DecidableEq ι] (ψ : QuantumState (ι × ι)) :

              Classical role-register symmetrization of a bipartite state.

              The A/B sector carries the original state, while the B/A sector carries the swapped state. The scalar 2 on each occupied role sector compensates for the normalized-trace convention on the enlarged ambient space.

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

                The normalized trace of a two-role sector projection is 1 / 4.

                A vector-level SWAP-invariant pure state induces the mixed-state symmetry API used throughout the current development.

                A vector-level SWAP-invariant pure state automatically satisfies PermInvState. This is the intended bridge from the paper's pure-state symmetry assumption to the density-matrix API used in Lean.

                The classical role-register symmetrized state is permutation-invariant.

                The classical role-register symmetrized state preserves normalization.

                The role-register symmetrized state has the same total expectation as the original state.

                noncomputable def MIPStarRE.LDT.swapQuantumState {ι : Type u_1} [Fintype ι] [DecidableEq ι] (ψ : QuantumState (ι × ι)) :
                Equations
                Instances For
                  theorem MIPStarRE.LDT.ev_swapQuantumState {ι : Type u_1} [Fintype ι] [DecidableEq ι] (ψ : QuantumState (ι × ι)) (Z : Quantum.Op (ι × ι)) :