Offline · exact source
Exact Lean source

TensorLANEmbeddingSchurState

formalization/Cloning/TensorLANEmbeddingSchurState.lean

Source hash: cde89dc5f3c0a0c39db70dd9982369df8e6ab7f85d0e74d7646583a278672a7b

Full source copied without mathematical changes from the snapshot whose input hash matches the passing audit. Select a line number for a stable source pointer.

The declarations belong to the compiled inventory covered by the project’s shared axiom audit. That audit records an aggregate union, without attributing axioms to individual declarations.

Declarations in this module
1import Cloning.TensorLANEmbeddingSchurWeights
2import Cloning.TensorGibbsCutoffState
3 
4/-! The literal local quantum experiment is an exact finite mixture of its
5actual normalized physical Gibbs sectors. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Classical ComplexOrder Matrix
8namespace Cloning.TensorLAN
9open Cloning.PCT Cloning.TensorLie Cloning.InfiniteTraceClass Cloning.Hybrid
10set_option maxHeartbeats 1200000
11set_option synthInstance.maxHeartbeats 100000
12set_option backward.isDefEq.respectTransparency false
13variable {n d : ℕ}
14local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
15  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
16 
17def canonicalGibbsDensity (H : PhysicalHighestTensor n d) (p : Fin d → ℝ) :
18    TraceClass H.CanonicalSector :=
19  sectorGibbsDensity (partitionHighestTensor H.weight H.weight_antitone) H.weight
20    (partitionHighestTensor_cartan H.weight H.weight_antitone)
21    (partitionHighestTensor_raising_zero H.weight H.weight_antitone) p
22 
23def canonicalRotatedGibbs (H : PhysicalHighestTensor n d)
24    (U : Matrix (Fin d) (Fin d) ℂ) (p : Fin d → ℝ) : TraceClass H.CanonicalSector :=
25  conjugationLinearMap (H.canonicalTensorOperator U) (canonicalGibbsDensity H p)
26 
27theorem canonicalTensorWeight_conjugate (H : PhysicalHighestTensor n d)
28    (U X : Matrix (Fin d) (Fin d) ℂ) :
29    canonicalTensorWeight H (U * X * Uᴴ) =
30      conjugationLinearMap (H.canonicalTensorOperator U) (canonicalTensorWeight H X) := by
31  apply Subtype.ext
32  change H.canonicalTensorOperator (U * X * Uᴴ) =
33    operatorConjugation (H.canonicalTensorOperator U) (H.canonicalTensorOperator X)
34  unfold PhysicalHighestTensor.canonicalTensorOperator
35  rw [cyclicTensorOperator_mul, cyclicTensorOperator_mul, cyclicTensorOperator_star]
36  rfl
37 
38/-- The true block has its actual trace weight multiplying its normalized
39rotated sector state. -/
40theorem canonicalTensorWeight_rotated_diagonal (H : PhysicalHighestTensor n d)
41    (U : Matrix (Fin d) (Fin d) ℂ) (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) :
42    canonicalTensorWeight H (U * Matrix.diagonal (fun a => (p a : ℂ)) * Uᴴ) =
43      (H.character p : ℂ) • canonicalRotatedGibbs H U p := by
44  rw [canonicalTensorWeight_conjugate, canonicalTensorWeight_diagonal,
45    sectorGibbsWeight_eq_partition_smul_state _ _ _ _
46      (partitionHighestTensor_norm H.weight H.weight_antitone) p hp, map_smul]
47  rfl
48 
49theorem canonicalRotatedGibbs_nonneg (H : PhysicalHighestTensor n d)
50    (U : Matrix (Fin d) (Fin d) ℂ) (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) :
51    0 ≤ (canonicalRotatedGibbs H U p).1 :=
52  conjugationLinearMap_nonneg _ _
53    (sectorGibbsDensity_nonneg _ _ _ _
54      (partitionHighestTensor_norm H.weight H.weight_antitone) p hp)
55 
56theorem canonicalRotatedGibbs_norm (H : PhysicalHighestTensor n d)
57    (U : Matrix (Fin d) (Fin d) ℂ) (hU : Uᴴ * U = 1)
58    (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) : ‖canonicalRotatedGibbs H U p‖ = 1 := by
59  let V := cyclicUnitary (partitionHighestTensor H.weight H.weight_antitone)
60    (fun a => (H.weight a : ℂ))
61    (partitionHighestTensor_cartan H.weight H.weight_antitone)
62    (partitionHighestTensor_raising_zero H.weight H.weight_antitone) U hU
63  rw [TraceClass.norm_eq_trace_re_of_nonneg _ (canonicalRotatedGibbs_nonneg H U p hp)]
64  change (traceCLM (conjugationLinearMap V.toLinearIsometry.toContinuousLinearMap
65    (canonicalGibbsDensity H p))).re = 1
66  rw [conjugationLinearMap_isometry_trace]
67  change (traceCLM (sectorGibbsDensity _ _ _ _ p)).re = 1
68  rw [sectorGibbsDensity_trace _ _ _ _ (partitionHighestTensor_norm H.weight H.weight_antitone) p hp]
69  rfl
70 
71/-- Exact trace-class mixture on the full physical tensor register. -/
72theorem matrixTensorPower_rotated_eq_copy_mixture
73    (U : Matrix (Fin d) (Fin d) ℂ) (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) :
74    matrixTensorPower (U * Matrix.diagonal (fun a => (p a : ℂ)) * Uᴴ) n =
75      ∑ i : SchurCopy n d,
76        (((recursivePhysicalDecomposition n d).get i).character p : ℂ) •
77          conjugationLinearMap
78            ((recursivePhysicalDecomposition n d).get i).canonicalEmbedding.toContinuousLinearMap
79            (canonicalRotatedGibbs ((recursivePhysicalDecomposition n d).get i) U p) := by
80  rw [matrixTensorPower_eq_sum_canonical_blocks (recursivePhysicalDecomposition n d)
81    (recursivePhysicalDecomposition_is_decomposition n d).1
82    (recursivePhysicalDecomposition_is_decomposition n d).2]
83  apply Finset.sum_congr rfl
84  intro i _
85  rw [canonicalTensorWeight_rotated_diagonal _ U p hp, map_smul]
86 
87end Cloning.TensorLAN