Definitions for Single-shot Quantum State Merging
DefinitionQAlgorithms_Papers_Independent_Advance50_P11The objects the formalized statements of Single-shot Quantum State Merging (arXiv:0912.4495) are stated in. Each was checked against the paper by a blind read-back and a moderator.
optimizedMin: PDF p.10, (3.5): optimize the fixed-reference min entropy over normalized densities.optimizedMax: PDF p.10, (3.6): historical support-rank max entropy, with normalized reference optimization.normalizedBall: PDF p.14, Definition 3.12: the closed ball contains only normalized density matrices. For eps >= 0 it contains rho whenever rho is a density; radii >= 1 remain meaningful.normalizedSmoothFixedMin: PDF p.14, (3.32): supremum smoothing with sigma fixed over NORMALIZED states at HALF trace-norm distance. The frozen Gap20.P03.smoothFixedMin uses a subnormalized full-radius ball, so it is a different source concept.smoothFixedMax: PDF p.14, (3.33): infimum smoothing of the historical rank-max entropy.normalizedSmoothMin: PDF p.14, (3.34): outer reference supremum, after normalized min smoothing. This is quantum density smoothing, distinct from frozen Gap20.P03.smoothMin, which is worst-case classical entropy under event deletion.normalizedSmoothRankMax: PDF p.14, (3.35): outer supremum after the inner normalized rank-max INFIMUM. The frozen Information100.P71.smoothMax is a channel max-relative divergence; it is not this historical conditional rank entropy.weightedOperator: PDF pp.10,15: weighting on the reference tensor factor. Negative powers are inverse-on-support and vanish on the kernel, as required by Remark 3.6.collisionEntropy: PDF p.15, (3.40): raw collision entropy with the stated generalized inverse. Zero collision mass gives +infinity. Comparisons and decoupling require support inclusion.referenceLast: PDF pp.11,14: tensor-factor permutation, moving the first factor to the end. This is basis transport, not a partial trace.tensorRegroup: PDF p.11, (3.9)--(3.10): regroup AA':BB' after taking the tensor product.inputKet: PDF p.16, Definition 4.1: single-copy input with the whole independent rank-K Bell resource. Register order is R:((Alice A,A0),(Bob B,B0)).targetKet: PDF p.16, (4.1): complete pure target, including the rank-L Bell resource. Bob's A is the fixed copy Bprime; the reference is unchanged.Merges: PDF p.16, Definition 4.1: actual finite adaptive LOCC and full target error. K,L are positive natural Schmidt ranks. No entropy or decoupling conclusion is an input.ancillaryInput: PDF p.25, Remark 4.11: independent normalized Alice ancilla at the input. It is not added to, or identified with, the inaccessible source reference R.retainedKrausBranch: PDF pp.6,23: a fine-grained local branch retaining its quantum output and R. Reuse the frozen single-Kraus conjugation, with identity on the actual reference. Dependency50.P07.measurementBranch instead traces Alice out and cannot be used here.flaggedOutput: PDF p.23, (4.31): actual outcome-flagged state, grouped as A:(R X). Each outcome retains its single measurement operator, including zero-weight branches.outcomeState: PDF p.23: the classical flag marginal is computed from actual branch traces.aliceResourceMarginal: PDF pp.17--18: Alice's rank-K input resource is maximally mixed in the AR marginal.decouplingSum: PDF pp.17--18, (4.5): the weighted decoupling sum, without division by a zero outcome probability. For each positive branch this equals p_j times its normalized trace-norm error.compressedState: PDF p.19: the actual unnormalized compressed state for a Haar unitary U.rankOnePinching: PDF pp.25--26: the frozen rank-one pinching, extended to the first factor. Dependency50.P35.pinch sums the column-projector sandwiches. The frozen mapFirst retains every reference block, including off-diagonal blocks. Thus no local basis projector or duplicate pinching definition is needed.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_QuantumInformation
import Definitions.Def_QAlgorithms_Defs_SchurUnitaryEnsembles
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P21
import Definitions.Def_QAlgorithms_Papers_Independent_Gap20_P11
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P22
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P35
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P67
/-!
Mario Berta, Single-shot Quantum State Merging, arXiv:0912.4495v1.
All page numbers are PDF pages and logarithms are binary. The historical
max entropy is the support-rank entropy. Smoothing uses normalized states
and HALF trace-norm distance; protocol errors use the FULL trace norm.
Only definitions from the pinned accepted library are reused. New definitions
are local to this paper. Source defects and intentionally omitted nodes are
recorded in HARD.md; no operational converse with positive error is asserted.
Compilation is pending the separate mechanical handoff.
-/
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
/-- PDF p.10, (3.5): optimize the fixed-reference min entropy over normalized densities. -/
def optimizedMin {A B : Type} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
(rho : Matrix (A × B) (A × B) ℂ) : EReal :=
⨆ sigma : {s : Matrix B B ℂ // IsDensityMatrix s}, conditionalMin rho sigma.1
/-- PDF p.10, (3.6): historical support-rank max entropy, with normalized reference optimization. -/
def optimizedMax {A B : Type} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
(rho : Matrix (A × B) (A × B) ℂ) : EReal :=
⨆ sigma : {s : Matrix B B ℂ // IsDensityMatrix s}, conditionalMax rho sigma.1
/-- PDF p.14, Definition 3.12: the closed ball contains only normalized density matrices.
For eps >= 0 it contains rho whenever rho is a density; radii >= 1 remain meaningful. -/
def normalizedBall {I : Type} [Fintype I] [DecidableEq I]
(eps : ℝ) (rho : Matrix I I ℂ) : Set (Matrix I I ℂ) :=
{tau | IsDensityMatrix tau ∧ (1 / 2 : ℝ) * traceNorm (tau - rho) ≤ eps}
/-- PDF p.14, (3.32): supremum smoothing with sigma fixed over NORMALIZED states
at HALF trace-norm distance. The frozen Gap20.P03.smoothFixedMin uses a
subnormalized full-radius ball, so it is a different source concept. -/
def normalizedSmoothFixedMin {A B : Type} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
(eps : ℝ) (rho : Matrix (A × B) (A × B) ℂ) (sigma : Matrix B B ℂ) : EReal :=
⨆ tau : normalizedBall eps rho, conditionalMin tau.1 sigma
/-- PDF p.14, (3.33): infimum smoothing of the historical rank-max entropy. -/
def smoothFixedMax {A B : Type} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
(eps : ℝ) (rho : Matrix (A × B) (A × B) ℂ) (sigma : Matrix B B ℂ) : EReal :=
⨅ tau : normalizedBall eps rho, conditionalMax tau.1 sigma
/-- PDF p.14, (3.34): outer reference supremum, after normalized min smoothing.
This is quantum density smoothing, distinct from frozen Gap20.P03.smoothMin,
which is worst-case classical entropy under event deletion. -/
def normalizedSmoothMin {A B : Type} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
(eps : ℝ) (rho : Matrix (A × B) (A × B) ℂ) : EReal :=
⨆ sigma : {s : Matrix B B ℂ // IsDensityMatrix s}, normalizedSmoothFixedMin eps rho sigma.1
/-- PDF p.14, (3.35): outer supremum after the inner normalized rank-max INFIMUM.
The frozen Information100.P71.smoothMax is a channel max-relative divergence;
it is not this historical conditional rank entropy. -/
def normalizedSmoothRankMax {A B : Type} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
(eps : ℝ) (rho : Matrix (A × B) (A × B) ℂ) : EReal :=
⨆ sigma : {s : Matrix B B ℂ // IsDensityMatrix s}, smoothFixedMax eps rho sigma.1
/-- PDF pp.10,15: weighting on the reference tensor factor. Negative powers are
inverse-on-support and vanish on the kernel, as required by Remark 3.6. -/
def weightedOperator {A B : Type} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
(rho : Matrix (A × B) (A × B) ℂ) (sigma : Matrix B B ℂ) (t : ℝ) :=
Matrix.kronecker (1 : Matrix A A ℂ) (supportPower sigma t) * rho *
Matrix.kronecker (1 : Matrix A A ℂ) (supportPower sigma t)
/-- PDF p.15, (3.40): raw collision entropy with the stated generalized inverse.
Zero collision mass gives +infinity. Comparisons and decoupling require support inclusion. -/
def collisionEntropy {A B : Type} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
(rho : Matrix (A × B) (A × B) ℂ) (sigma : Matrix B B ℂ) : EReal :=
-elog (tr (weightedOperator rho sigma (-1 / 4) ^ 2))
/-- PDF pp.11,14: tensor-factor permutation, moving the first factor to the end.
This is basis transport, not a partial trace. -/
def referenceLast {A R : Type} (rho : Matrix (R × A) (R × A) ℂ) :
Matrix (A × R) (A × R) ℂ := fun p q => rho (p.2, p.1) (q.2, q.1)
/-- PDF p.11, (3.9)--(3.10): regroup AA':BB' after taking the tensor product. -/
def tensorRegroup {A B C D : Type}
(rho : Matrix (A × B) (A × B) ℂ) (tau : Matrix (C × D) (C × D) ℂ) :
Matrix ((A × C) × (B × D)) ((A × C) × (B × D)) ℂ :=
fun p q => rho (p.1.1, p.2.1) (q.1.1, q.2.1) *
tau (p.1.2, p.2.2) (q.1.2, q.2.2)
/-- PDF p.16, Definition 4.1: single-copy input with the whole independent rank-K Bell resource.
Register order is R:((Alice A,A0),(Bob B,B0)). -/
def inputKet {A B R : Type} (psi : EuclideanSpace ℂ (R × (A × B))) (K : ℕ) :
EuclideanSpace ℂ (R × ((A × Fin K) × (B × Fin K))) :=
WithLp.toLp 2 fun p => psi (p.1, (p.2.1.1, p.2.2.1)) *
bell (Fin K) (p.2.1.2, p.2.2.2)
/-- PDF p.16, (4.1): complete pure target, including the rank-L Bell resource.
Bob's A is the fixed copy Bprime; the reference is unchanged. -/
def targetKet {A B R : Type} (psi : EuclideanSpace ℂ (R × (A × B))) (L : ℕ) :
EuclideanSpace ℂ (R × (Fin L × ((A × B) × Fin L))) :=
WithLp.toLp 2 fun p => psi (p.1, p.2.2.1) * bell (Fin L) (p.2.1, p.2.2.2)
/-- PDF p.16, Definition 4.1: actual finite adaptive LOCC and full target error.
K,L are positive natural Schmidt ranks. No entropy or decoupling conclusion is an input. -/
def Merges {A B R : Type} [Fintype A] [Fintype B] [Fintype R]
(psi : EuclideanSpace ℂ (R × (A × B))) (K L : ℕ)
(M : Superop ((A × Fin K) × (B × Fin K)) (Fin L × ((A × B) × Fin L)))
(eps : ℝ) : Prop :=
0 < K ∧ 0 < L ∧ IsLOCC M ∧
traceNorm (idTensorSuperop M (pureDensity (inputKet psi K)) -
pureDensity (targetKet psi L)) ≤ eps
/-- PDF p.25, Remark 4.11: independent normalized Alice ancilla at the input.
It is not added to, or identified with, the inaccessible source reference R. -/
def ancillaryInput {A B R C : Type}
(psi : EuclideanSpace ℂ (R × (A × B))) (eta : Matrix C C ℂ) (K : ℕ) :
Matrix (R × (((A × Fin K) × C) × (B × Fin K)))
(R × (((A × Fin K) × C) × (B × Fin K))) ℂ :=
fun p q => pureDensity (inputKet psi K)
(p.1, (p.2.1.1, p.2.2)) (q.1, (q.2.1.1, q.2.2)) * eta p.2.1.2 q.2.1.2
/-- PDF pp.6,23: a fine-grained local branch retaining its quantum output and R.
Reuse the frozen single-Kraus conjugation, with identity on the actual reference.
Dependency50.P07.measurementBranch instead traces Alice out and cannot be used here. -/
def retainedKrausBranch {A C R : Type} [Fintype A] [Fintype R] [DecidableEq R]
(M : Matrix C A ℂ) (rho : Matrix (A × R) (A × R) ℂ) :
Matrix (C × R) (C × R) ℂ :=
conjSuperop (Matrix.kronecker M (1 : Matrix R R ℂ)) rho
/-- PDF p.23, (4.31): actual outcome-flagged state, grouped as A:(R X).
Each outcome retains its single measurement operator, including zero-weight branches. -/
def flaggedOutput {A R X : Type} [Fintype A] [Fintype R] [DecidableEq R] [DecidableEq X]
(M : X → Matrix A A ℂ) (rho : Matrix (A × R) (A × R) ℂ) :
Matrix (A × (R × X)) (A × (R × X)) ℂ :=
fun p q => if p.2.2 = q.2.2 then
retainedKrausBranch (M p.2.2) rho (p.1, p.2.1) (q.1, q.2.1) else 0
/-- PDF p.23: the classical flag marginal is computed from actual branch traces. -/
def outcomeState {A R X : Type} [Fintype A] [Fintype R] [DecidableEq R] [DecidableEq X]
(M : X → Matrix A A ℂ) (rho : Matrix (A × R) (A × R) ℂ) : Matrix X X ℂ :=
Matrix.diagonal fun x => (retainedKrausBranch (M x) rho).trace
/-- PDF pp.17--18: Alice's rank-K input resource is maximally mixed in the AR marginal. -/
def aliceResourceMarginal {A R : Type} [Fintype A] [Fintype R]
(rho : Matrix (A × R) (A × R) ℂ) (K : ℕ) :
Matrix ((A × Fin K) × R) ((A × Fin K) × R) ℂ :=
fun p q => rho (p.1.1, p.2) (q.1.1, q.2) * mixed (Fin K) p.1.2 q.1.2
/-- PDF pp.17--18, (4.5): the weighted decoupling sum, without division by a zero outcome probability.
For each positive branch this equals p_j times its normalized trace-norm error. -/
def decouplingSum {A B R X : Type} [Fintype A] [Fintype B] [Fintype R] [Fintype X]
(psi : EuclideanSpace ℂ (R × (A × B))) (K L : ℕ)
(M : X → Matrix (Fin L) (A × Fin K) ℂ) : ℝ :=
let rho := aliceResourceMarginal (marginalAR (pureDensity psi)) K
let target := Matrix.kronecker (mixed (Fin L)) (traceRight (pureDensity psi))
∑ x, traceNorm (retainedKrausBranch (M x) rho -
(retainedKrausBranch (M x) rho).trace • target)
/-- PDF p.19: the actual unnormalized compressed state for a Haar unitary U. -/
def compressedState {d L : ℕ} {R : Type} [Fintype R] [DecidableEq R]
(rho : Matrix (Fin d × R) (Fin d × R) ℂ) (P : Matrix (Fin L) (Fin d) ℂ)
(U : Matrix.unitaryGroup (Fin d) ℂ) : Matrix (Fin L × R) (Fin L × R) ℂ :=
retainedKrausBranch (P * (U : Matrix (Fin d) (Fin d) ℂ)) rho
/-- PDF pp.25--26: the frozen rank-one pinching, extended to the first factor.
Dependency50.P35.pinch sums the column-projector sandwiches. The frozen mapFirst
retains every reference block, including off-diagonal blocks. Thus no local basis
projector or duplicate pinching definition is needed. -/
def rankOnePinching {A R : Type} [Fintype A] [Fintype R] [DecidableEq A] [DecidableEq R]
(U : Matrix.unitaryGroup A ℂ) (rho : Matrix (A × R) (A × R) ℂ) :=
QAlgorithms.Papers.Independent.Information100.P67.mapFirst
(QAlgorithms.Papers.Independent.Dependency50.P35.pinch (U : Matrix A A ℂ)) rho
/-! Sanity examples pinning domain, zero outcomes, factor order and the full target. -/
example {I : Type} [Fintype I] [DecidableEq I] (rho : Matrix I I ℂ)
(hrho : IsDensityMatrix rho) (eps : ℝ) (heps : 0 ≤ eps) :
rho ∈ normalizedBall eps rho := by
simpa [normalizedBall, traceNorm, cfc_zero] using And.intro hrho heps
example {A R : Type} [Fintype A] [Fintype R] [DecidableEq R]
(rho : Matrix (A × R) (A × R) ℂ) : retainedKrausBranch (0 : Matrix A A ℂ) rho = 0 := by
simp [retainedKrausBranch, conjSuperop]
example {A R : Type} (rho : Matrix (R × A) (R × A) ℂ) :
referenceLast (referenceLast rho) = rho := rfl
example {A B : Type} (psi : EuclideanSpace ℂ (Unit × (A × B))) (a : A) (b : B) :
targetKet psi 1 ((), (0, ((a, b), 0))) = psi ((), (a, b)) := by
simp [targetKet, bell]
example {A B R : Type} [Fintype A] [Fintype B] [Fintype R]
(psi : EuclideanSpace ℂ (R × (A × B))) (K L : ℕ)
(M : Superop ((A × Fin K) × (B × Fin K)) (Fin L × ((A × B) × Fin L)))
(h : Merges psi K L M 0) : IsLOCC M := h.2.2.1
end QAlgorithms.Papers.Independent.Advance50.P11
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Advance50.P11.Merges
For finite types , a vector , natural numbers , an arbitrary map from complex matrices on to complex matrices on , and a real number , this predicate requires , , that is a finite local protocol as described below, and
Here the extension of acts separately on each reference matrix block: , and . The local-protocol requirement first relabels each local basis by a chosen bijection with the finite set of its cardinality and then requires membership in the recursively generated class consisting of identity maps and finite branching steps: either party applies a finite family of local rectangular matrices satisfying , follows branch with another such protocol, and sums the resulting branch outputs. Local dimensions may change during these steps. No unit-norm assumption on , nonemptiness assumption on , or sign assumption on is imposed; a negative cannot satisfy the norm inequality.
QAlgorithms.Papers.Independent.Advance50.P11.aliceResourceMarginal
For finite types , any complex matrix on , and any natural number , this defines a matrix on by
The scalar inverse is taken in , with . No positivity or normalization of , positivity of , or nonemptiness of is assumed; for , the output index type is empty.
QAlgorithms.Papers.Independent.Advance50.P11.ancillaryInput
For arbitrary types , a complex vector indexed by , any complex matrix indexed by , and any natural number , this defines a matrix on . Writing , its entries are
No finiteness or nonemptiness of these types, normalization of , or positivity or normalization of is required. The value is allowed and gives an empty matrix index type.
QAlgorithms.Papers.Independent.Advance50.P11.collisionEntropy
For any finite types with decidable equality and any complex matrices on and on , put
Here real powers and real continuous functional calculus use their total-function conventions, and is the matrix product . This defines , embedded in the extended reals, when , and when . Neither matrix is assumed positive, Hermitian, normalized, or invertible, and the index types may be empty. In particular, gives value .
QAlgorithms.Papers.Independent.Advance50.P11.compressedState
For any natural numbers , a finite type with decidable equality, any complex matrix on , any complex matrix , and any unitary complex matrix , this defines the matrix
on . The hypotheses require to be unitary but impose no projection or isometry condition on , and no positivity or normalization condition on . The dimensions may be zero and may be empty.
QAlgorithms.Papers.Independent.Advance50.P11.decouplingSum
For finite types , any vector , natural numbers , and any family of complex rectangular matrices , define matrices
This definition returns the real number , where the multiplying trace is complex and . No normalization of , completeness condition on , positive lower bound on , or nonemptiness assumption is imposed. Reciprocals at zero are zero; an empty , , or makes the resulting sum zero.
QAlgorithms.Papers.Independent.Advance50.P11.flaggedOutput
For finite types , with decidable equality on , any type with decidable equality, any family of complex matrices on , and any complex matrix on , this defines a matrix on by
The flag type need not be finite. There is no positivity or normalization assumption on , and no condition such as ; empty index types and zero branch matrices are permitted.
QAlgorithms.Papers.Independent.Advance50.P11.inputKet
For arbitrary types , any complex coordinate vector indexed by , and any natural number , this defines a vector indexed by with coordinates
The factor on the two added indices is precisely the vector with amplitude on equal indices and zero elsewhere. No finiteness or normalization assumption is imposed on or on . The case is included: the output index type is empty, so the resulting vector is the zero vector.
QAlgorithms.Papers.Independent.Advance50.P11.normalizedBall
For any finite type with decidable equality, any real , and any complex matrix indexed by , this defines the set
where , with the matrix square root given by real continuous functional calculus. The center need not be a density matrix, and need not be nonnegative. The set is empty when , and also when is empty.
QAlgorithms.Papers.Independent.Advance50.P11.normalizedSmoothFixedMin
For any finite types with decidable equality, any real , any complex matrix indexed by , and any complex matrix indexed by , let
This defines the extended real number
Neither nor is assumed positive or normalized, and the square root in the trace norm is defined by real continuous functional calculus. An empty smoothing set gives value ; this includes or an empty . An empty inner feasible set has infimum , whose negative is .
QAlgorithms.Papers.Independent.Advance50.P11.normalizedSmoothMin
For any finite types with decidable equality, any real , and any complex matrix indexed by , this defines
where is indexed by , by , and , with square root defined by real continuous functional calculus. All extrema are taken in the extended reals. No density-matrix assumption is imposed on , and no nonnegativity assumption is imposed on . Empty suprema equal , while an empty innermost feasible set has infimum ; in particular, an empty smoothing set or an empty makes the defined value .
QAlgorithms.Papers.Independent.Advance50.P11.normalizedSmoothRankMax
For any finite types with decidable equality, any real , and any complex matrix indexed by , this defines the extended real number
where is the orthogonal projection onto the range of , for and otherwise, and , using real continuous functional calculus. The center is unrestricted and may be negative. An empty inner smoothing set gives ; if admissible exist, this makes the outer value . If is empty, the outer supremum is instead empty and equals .
QAlgorithms.Papers.Independent.Advance50.P11.optimizedMax
For any finite types with decidable equality and any complex matrix indexed by , let be the orthogonal projection onto the range of the linear operator represented by , and define for and for . This defines
as an extended real number. No density-matrix assumption is imposed on . The types may be empty; in particular, if is empty, the supremum has no admissible and equals .
QAlgorithms.Papers.Independent.Advance50.P11.optimizedMin
For any finite types with decidable equality and any complex matrix indexed by , this defines the extended real number
where the inner infimum is taken in the extended reals. No positivity, trace, or normalization assumption is imposed on , and neither index type is assumed nonempty. An empty inner feasible set gives inner infimum , hence value before the outer supremum; if is empty, there are no trace-one matrices , so the outer supremum is .
QAlgorithms.Papers.Independent.Advance50.P11.outcomeState
For finite types , with decidable equality on , any type with decidable equality, any family of complex matrices on , and any complex matrix on , this defines the diagonal complex matrix on with
The diagonal uses the full complex trace. Neither positivity nor normalization is required of , no completeness condition is required of the family , and may be infinite or empty. If or is empty, each branch trace is an empty sum and equals zero.
QAlgorithms.Papers.Independent.Advance50.P11.rankOnePinching
For finite types , both equipped with decidable equality, a unitary complex matrix on , and any complex matrix on , let be the matrix on whose entries are . This defines
Equivalently, on each matrix block with fixed reference indices , it applies to the -indices. No positivity or normalization of , or nonemptiness of either register, is assumed; an empty gives an empty sum.
QAlgorithms.Papers.Independent.Advance50.P11.referenceLast
For arbitrary types and any complex matrix indexed by , this defines a complex matrix indexed by by
Thus both row and column coordinates have their two factors exchanged. No finiteness, decidable-equality, positivity, or normalization assumptions are required; empty types are allowed.
QAlgorithms.Papers.Independent.Advance50.P11.retainedKrausBranch
For finite types , with decidable equality on , an arbitrary type , a complex rectangular matrix with rows indexed by and columns by , and any complex matrix on , this defines the matrix on
No positivity or normalization of , completeness condition on , or nonemptiness of any index type is required; in particular, this expression includes zero matrices and zero-dimensional registers.
QAlgorithms.Papers.Independent.Advance50.P11.smoothFixedMax
For any finite types with decidable equality, any real , any complex matrix indexed by , and any complex matrix indexed by , this defines
where is the orthogonal projection onto the range of , for and otherwise, and , using real continuous functional calculus for the square root. The infimum is extended real valued. Neither nor is assumed to be a density matrix, and is arbitrary. If the smoothing set is empty, including when or is empty, the value is .
QAlgorithms.Papers.Independent.Advance50.P11.targetKet
For arbitrary types , a complex vector indexed by , and any natural number , this defines a vector indexed by by
Thus the two -dimensional registers occur on opposite sides of the register in the specified ordering. No normalization of or positivity of is assumed; when , the output index type is empty.
QAlgorithms.Papers.Independent.Advance50.P11.tensorRegroup
For arbitrary types , any complex matrix indexed by , and any complex matrix indexed by , this defines a matrix indexed by whose entries are
There are no finiteness, decidable-equality, positivity, or normalization assumptions on the types or matrices, and any of the types may be empty.
QAlgorithms.Papers.Independent.Advance50.P11.weightedOperator
For any finite types with decidable equality, any complex matrices on and on , and any real , this defines the matrix
where denotes the total real-power function and denotes real continuous functional calculus with its total-function conventions. No positivity, Hermiticity, invertibility, or normalization assumptions are imposed on either matrix. In particular, the scalar function maps zero to zero even when ; the same , without an adjoint, occurs on both sides of . Empty index types are permitted.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.