Partial trace commutes with right multiplication on the retained factor
ProvedQAlgorithms.Papers.Independent.Advance50.P11.partialTrace_rightMultiplyAll registers are finite dimensional and have positive dimension. Density operators are positive semidefinite with trace one, pure vectors have norm one, and logarithms are base two. For density operators and ,
The partial trace is over the actual second tensor factor, and multiplication by remains on the right.
This identity transports an operator through a partial trace without reversing multiplication order.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P11
noncomputable section
namespace QAlgorithms.Papers.Independent.Advance50.P11
open QAlgorithms MeasureTheory
open scoped Matrix ComplexConjugate ComplexOrder
open QAlgorithms.Papers.Independent.Support50.P21
(conditionalMin conditionalMax hMin hMax largestEigenvalue)
open QAlgorithms.Papers.Independent.Dependency50.P35 (elog supportRank tr)
open QAlgorithms.Papers.Independent.Information100.P71 (supportPower SupportIncluded)
open QAlgorithms.Papers.Independent.Information100.P07 (support)
open QAlgorithms.Papers.Independent.Gap20.P11 (IsLOCC marginalAR)
open QAlgorithms.Papers.Independent.Information100.P22 (bell mixed)
attribute [local instance] Classical.propDecidable Classical.decEq
/-- Lemma A.5, PDF p.31, (A.4): preserve RIGHT multiplication by sigma_A.
The source quantifies normalized densities, though the identity extends further. -/
theorem partialTrace_rightMultiply {A B : Type} [Fintype A] [Fintype B]
[DecidableEq A] [DecidableEq B] [Nonempty A] [Nonempty B]
(rho : Matrix (A × B) (A × B) ℂ) (sigma : Matrix A A ℂ)
(hrho : IsDensityMatrix rho) (hsigma : IsDensityMatrix sigma) :
traceRight (rho * Matrix.kronecker sigma (1 : Matrix B B ℂ)) =
traceRight rho * sigma := by sorry
end QAlgorithms.Papers.Independent.Advance50.P11
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For finite, nonempty types and , each with decidable equality, let be a complex matrix indexed by , and let be a complex matrix indexed by . Assume both matrices are positive semidefinite and have trace . Then taking the partial trace over after multiplying on the right by gives
where .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.