Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Locking classical correlation in quantum states

Definition
QAlgorithms_Papers_Independent_Intakenext100_P100

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of Locking classical correlation in quantum states (arXiv:quant-ph/0303088) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • pairBasis: PDF p.1, Eq.(1): transport the accepted two-register basis to A times B.
  • measuredState: PDF p.1: a normalized matrix, reindexed without changing either local system.
  • lockingMeasuredInformation: PDF p.1, Eq.(1): solely a basis-transport wrapper around the frozen I_c. The distinct name avoids the unrelated frozen channel-ensemble Holevo quantity Renew46.P36.classicalInformation; that definition cannot represent this I_c. The zero branch is an invalid-input default; every theorem uses density matrices on positive-dimensional spaces or asserts normalization of its constructed state. There is no new POVM optimization or outcome restriction.
  • OneWayMap: PDF pp.2--3: one Alice-to-Bob classical message of at most l bits. Alice's rectangular Kraus instrument has at most 2^l message values; Bob applies a channel conditioned on that value. Unsent private outcomes can be retained inside C, and both parties can retain the message in C and D. Arbitrary local ancillas, disposal and local preprocessing are included in these CP maps; there is no additional shared resource.
  • oneWayOutput: PDF p.2, Eq.(2): the actual output of the specified one-round protocol.
  • oneWayInformation: PDF p.3, Theorem 1: Eq.(2) restricted to one-way classical communication. Both output dimensions range over all positive integers. For states the set is nonempty (identity protocol) and bounded by log(dim A)+l, since Alice's initial system plus her transmitted classical record bounds the correlation.
  • lockingState: PDF p.2, Eq.(5), and p.5, Eq.(17): the explicit uniform product mixture. Alice's label is (k,t), Bob's vector is column k of U_t.
  • disclosedState: PDF pp.2,5: actual classical output after disclosure of t, inverse U_t, and measurement of k. Alice and Bob both retain (k,t). The copied key is included in Bob's output, so the physical output space is larger.
  • IsUnbiasedFamily: PDF pp.2,5: U_0=I and the column bases are pairwise mutually unbiased. Unitarity is in U's type; squared overlaps are 1/d.
  • basisScore: PDF p.5, Eq.(18): averaged negative measurement entropy of a vector.
  • maximalBasisScore: PDF p.5, Eq.(18): maximize only over normalized vectors. For d,L>0 this set is nonempty and bounded in [-log d,0]; attainment is also included in the theorem below.
  • lockingCopies: PDF p.3: independent copies regrouped as Alice's m systems versus Bob's. This is the already accepted mixed-state tensor-power definition.
  • localOutput: PDF pp.2,6: local CPTP maps act on the full bipartite matrix.
  • sendAlice: PDF pp.2,6: send Alice's two-dimensional factor to Bob, retaining all coherences. finProdFinEquiv fixes the finite basis convention.
  • sendBob: PDF pp.2,6: the reverse transfer, sending Bob's qubit to Alice.
  • QuantumExecution: PDF pp.2,6: finite two-way quantum executions. Local channels may add or discard local ancillas and keep private measurement records. Only actual qubit transfers increment the cost; composition adds these counts. No shared ancilla state or additional correlated resource is an input.
  • QuantumObtainable: PDF p.2, Eq.(2): at most l qubits, with the endpoint equal to the actual executed output, including all records that the protocol retains.
  • IsPrimePower: PDF p.6: a nontrivial prime power p^n, n>=1.
  • IsLeastPrimePowerAbove: PDF p.6, Theorem 2: the least prime power no smaller than d.
  • lockingEntropyTerm: PDF p.6: eta(x)=-x log_2 x, continuously interpreted as zero at x=0. This is distinct from the frozen tomography loss Claimed50.P28.eta and the SchmidtInput.eta seed-vector construction in Next46.P39; neither has this scalar entropy body.
  • correlationRoot: PDF pp.4,6: shorthand for sqrt(2 ln(2) I_c(rho)); ln is natural log.
  • refinedError: PDF p.6: the printed refined continuity error, with its exact coefficient.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_MatrixDistances
import Definitions.Def_QAlgorithms_Defs_BipartiteSeparability
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P33
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P39

/-! DiVincenzo et al., arXiv:quant-ph/0303088v1.
All logarithms in information expressions are base two. Matrix states are
positive semidefinite with trace one. The only information optimization used
below is the accepted Claimed50.P33.independentMeasuredInformation.
The printed small-correlation thresholds are retained: their appendix proof
has the Fannes substitution-domain gap described in MODERATION_NOTES.md.
Compilation is pending the authorized mechanical handoff. -/

noncomputable section

namespace QAlgorithms.Papers.Independent.Intakenext100.P100

open QAlgorithms
open scoped Matrix ComplexConjugate ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.1, Eq.(1): transport the accepted two-register basis to A times B. -/
def pairBasis (A B : Type) [Fintype A] [Fintype B] :
    Claimed50.P33.RegisterBasis (fun i => Fin (![Fintype.card A, Fintype.card B] i)) ≃ A × B :=
  (piFinTwoEquiv (fun i => Fin (![Fintype.card A, Fintype.card B] i))).trans
    (Equiv.prodCongr (Fintype.equivFin A).symm (Fintype.equivFin B).symm)

/-- PDF p.1: a normalized matrix, reindexed without changing either local system. -/
def measuredState {A B : Type} [Fintype A] [Fintype B]
    (rho : Matrix (A × B) (A × B) ℂ)
    (hA : 0 < Fintype.card A) (hB : 0 < Fintype.card B)
    (h : IsDensityMatrix rho) : Claimed50.P33.FiniteState 2 where
  dims := ![Fintype.card A, Fintype.card B]
  positive := by
    intro i
    fin_cases i
    · exact hA
    · exact hB
  rho := rho.submatrix (pairBasis A B) (pairBasis A B)
  normalized := by
    refine ⟨h.1.submatrix _, ?_⟩
    change (∑ i, rho (pairBasis A B i) (pairBasis A B i)) = 1
    rw [(pairBasis A B).sum_comp (fun i => rho i i)]
    exact h.2

/-- PDF p.1, Eq.(1): solely a basis-transport wrapper around the frozen I_c.
The distinct name avoids the unrelated frozen channel-ensemble Holevo quantity
Renew46.P36.classicalInformation; that definition cannot represent this I_c.
The zero branch is an invalid-input default; every theorem uses density
matrices on positive-dimensional spaces or asserts normalization of its
constructed state. There is no new POVM optimization or outcome restriction. -/
def lockingMeasuredInformation {A B : Type} [Fintype A] [Fintype B]
    (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  if h : 0 < Fintype.card A ∧ 0 < Fintype.card B ∧ IsDensityMatrix rho then
    Claimed50.P33.independentMeasuredInformation (measuredState rho h.1 h.2.1 h.2.2)
  else 0

/-- Sanity: basis transport identifies the two party coordinates separately. -/
example {A B : Type} [Fintype A] [Fintype B]
    (x : Claimed50.P33.RegisterBasis (fun i => Fin (![Fintype.card A, Fintype.card B] i))) :
    pairBasis A B x = ((Fintype.equivFin A).symm (x 0),
      (Fintype.equivFin B).symm (x 1)) := rfl

/-- Sanity: the wrapper is exactly the frozen quantity on every valid input. -/
example {A B : Type} [Fintype A] [Fintype B] (rho : Matrix (A × B) (A × B) ℂ)
    (hA : 0 < Fintype.card A) (hB : 0 < Fintype.card B) (h : IsDensityMatrix rho) :
    lockingMeasuredInformation rho =
      Claimed50.P33.independentMeasuredInformation (measuredState rho hA hB h) := by
  unfold lockingMeasuredInformation
  split_ifs with hvalid
  · rfl
  · exact (hvalid ⟨hA, hB, h⟩).elim

/-- PDF pp.2--3: one Alice-to-Bob classical message of at most l bits.
Alice's rectangular Kraus instrument has at most 2^l message values; Bob
applies a channel conditioned on that value. Unsent private outcomes can be
retained inside C, and both parties can retain the message in C and D.
Arbitrary local ancillas, disposal and local preprocessing are included in
these CP maps; there is no additional shared resource. -/
structure OneWayMap (A B C D : Type) [Fintype A] [Fintype B]
    [Fintype C] [Fintype D] (l : ℕ) where
  messages : ℕ
  messages_pos : 0 < messages
  budget : messages ≤ 2 ^ l
  krausCount : ℕ
  alice : Fin messages → Fin krausCount → Matrix C A ℂ
  complete : (∑ t, ∑ r, (alice t r)ᴴ * alice t r) = 1
  bob : Fin messages → Superop B D
  bob_valid : ∀ t, IsChannel (bob t)

/-- PDF p.2, Eq.(2): the actual output of the specified one-round protocol. -/
def oneWayOutput {A B C D : Type} [Fintype A] [Fintype B]
    [Fintype C] [Fintype D] {l : ℕ} (P : OneWayMap A B C D l)
    (rho : Matrix (A × B) (A × B) ℂ) : Matrix (C × D) (C × D) ℂ :=
  ∑ t, idTensorSuperop (P.bob t)
    (Support50.P39.aliceAction (krausApply (P.alice t)) rho)

/-- PDF p.3, Theorem 1: Eq.(2) restricted to one-way classical communication.
Both output dimensions range over all positive integers. For states the set
is nonempty (identity protocol) and bounded by log(dim A)+l, since Alice's
initial system plus her transmitted classical record bounds the correlation. -/
def oneWayInformation {A B : Type} [Fintype A] [Fintype B]
    (l : ℕ) (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  sSup {v : ℝ | ∃ c d : ℕ, ∃ P : OneWayMap A B (Fin (c+1)) (Fin (d+1)) l,
    v = lockingMeasuredInformation (oneWayOutput P rho)}

/-- Sanity: a message is tied to the source's exponential alphabet budget. -/
example {A B C D : Type} [Fintype A] [Fintype B] [Fintype C] [Fintype D]
    (P : OneWayMap A B C D 0) : P.messages ≤ 1 := by
  simpa using P.budget

/-- PDF p.2, Eq.(5), and p.5, Eq.(17): the explicit uniform product mixture.
Alice's label is (k,t), Bob's vector is column k of U_t. -/
def lockingState {d L : ℕ} (U : Fin L → Matrix.unitaryGroup (Fin d) ℂ) :
    Matrix ((Fin d × Fin L) × Fin d) ((Fin d × Fin L) × Fin d) ℂ :=
  fun a b => if a.1 = b.1 then
    ((L*d : ℕ) : ℂ)⁻¹ * (U a.1.2 : Matrix (Fin d) (Fin d) ℂ) a.2 a.1.1 *
      conj ((U a.1.2 : Matrix (Fin d) (Fin d) ℂ) b.2 a.1.1)
    else 0

/-- PDF pp.2,5: actual classical output after disclosure of t, inverse U_t,
and measurement of k. Alice and Bob both retain (k,t). The copied key is
included in Bob's output, so the physical output space is larger. -/
def disclosedState (d L : ℕ) :
    Matrix ((Fin d × Fin L) × (Fin d × Fin L))
      ((Fin d × Fin L) × (Fin d × Fin L)) ℂ :=
  fun a b => if a = b ∧ a.1 = a.2 then ((L*d : ℕ) : ℂ)⁻¹ else 0

/-- PDF pp.2,5: U_0=I and the column bases are pairwise mutually unbiased.
Unitarity is in U's type; squared overlaps are 1/d. -/
def IsUnbiasedFamily {d L : ℕ} (U : Fin L → Matrix.unitaryGroup (Fin d) ℂ) : Prop :=
  (∀ t, t.val = 0 → (U t : Matrix (Fin d) (Fin d) ℂ) = 1) ∧
  ∀ t s, t ≠ s → ∀ k j : Fin d,
    Complex.normSq (∑ i, conj ((U t : Matrix (Fin d) (Fin d) ℂ) i k) *
      (U s : Matrix (Fin d) (Fin d) ℂ) i j) = 1 / (d : ℝ)

/-- PDF p.5, Eq.(18): averaged negative measurement entropy of a vector. -/
def basisScore {d L : ℕ} (U : Fin L → Matrix.unitaryGroup (Fin d) ℂ)
    (phi : EuclideanSpace ℂ (Fin d)) : ℝ :=
  (L : ℝ)⁻¹ * ∑ t, ∑ k,
    let p := Complex.normSq (∑ i, conj (phi i) * (U t : Matrix (Fin d) (Fin d) ℂ) i k)
    p * Real.logb 2 p

/-- PDF p.5, Eq.(18): maximize only over normalized vectors. For d,L>0
this set is nonempty and bounded in [-log d,0]; attainment is also included
in the theorem below. -/
def maximalBasisScore {d L : ℕ} (U : Fin L → Matrix.unitaryGroup (Fin d) ℂ) : ℝ :=
  sSup {v | ∃ phi : EuclideanSpace ℂ (Fin d), ‖phi‖ = 1 ∧ v = basisScore U phi}

/-- Sanity: Eq.(17) has weight 1/(Ld) on each Alice label and the
outer product of the corresponding Bob column, including off-diagonals. -/
example {d L : ℕ} (U : Fin L → Matrix.unitaryGroup (Fin d) ℂ)
    (k : Fin d) (t : Fin L) (i j : Fin d) :
    lockingState U ((k,t),i) ((k,t),j) =
      ((L*d : ℕ) : ℂ)⁻¹ * (U t : Matrix (Fin d) (Fin d) ℂ) i k *
        conj ((U t : Matrix (Fin d) (Fin d) ℂ) j k) := by
  simp [lockingState]

/-- Sanity: the disclosed output cannot have support on unequal shared labels. -/
example (d L : ℕ) (a b : (Fin d × Fin L) × (Fin d × Fin L)) (h : a.1 ≠ a.2) :
    disclosedState d L a b = 0 := by
  simp [disclosedState, h]

/-- PDF p.3: independent copies regrouped as Alice's m systems versus Bob's.
This is the already accepted mixed-state tensor-power definition. -/
abbrev lockingCopies {d L : ℕ} (U : Fin L → Matrix.unitaryGroup (Fin d) ℂ) (m : ℕ) :=
  Support50.P39.noisyResourceCopies (lockingState U) m

/-- Sanity: the empty tensor product has its single matrix entry equal to one. -/
example {d L : ℕ} (U : Fin L → Matrix.unitaryGroup (Fin d) ℂ)
    (a b : (Fin 0 → Fin d × Fin L) × (Fin 0 → Fin d)) :
    lockingCopies U 0 a b = 1 := by
  simp [lockingCopies, Support50.P39.noisyResourceCopies]

/-- PDF pp.2,6: local CPTP maps act on the full bipartite matrix. -/
def localOutput {a b c d : ℕ} (F : Superop (Fin a) (Fin c))
    (G : Superop (Fin b) (Fin d))
    (rho : Matrix (Fin a × Fin b) (Fin a × Fin b) ℂ) :
    Matrix (Fin c × Fin d) (Fin c × Fin d) ℂ :=
  idTensorSuperop G (Support50.P39.aliceAction F rho)

/-- PDF pp.2,6: send Alice's two-dimensional factor to Bob, retaining all
coherences. finProdFinEquiv fixes the finite basis convention. -/
def sendAlice {a b : ℕ}
    (rho : Matrix (Fin (a*2) × Fin b) (Fin (a*2) × Fin b) ℂ) :
    Matrix (Fin a × Fin (2*b)) (Fin a × Fin (2*b)) ℂ :=
  fun x y => rho
    (finProdFinEquiv (x.1, (finProdFinEquiv.symm x.2).1), (finProdFinEquiv.symm x.2).2)
    (finProdFinEquiv (y.1, (finProdFinEquiv.symm y.2).1), (finProdFinEquiv.symm y.2).2)

/-- PDF pp.2,6: the reverse transfer, sending Bob's qubit to Alice. -/
def sendBob {a b : ℕ}
    (rho : Matrix (Fin a × Fin (2*b)) (Fin a × Fin (2*b)) ℂ) :
    Matrix (Fin (a*2) × Fin b) (Fin (a*2) × Fin b) ℂ :=
  fun x y => rho
    ((finProdFinEquiv.symm x.1).1, finProdFinEquiv ((finProdFinEquiv.symm x.1).2, x.2))
    ((finProdFinEquiv.symm y.1).1, finProdFinEquiv ((finProdFinEquiv.symm y.1).2, y.2))

/-- PDF pp.2,6: finite two-way quantum executions. Local channels may add or
discard local ancillas and keep private measurement records. Only actual
qubit transfers increment the cost; composition adds these counts. No shared
ancilla state or additional correlated resource is an input. -/
inductive QuantumExecution : (a b : ℕ) →
    Matrix (Fin a × Fin b) (Fin a × Fin b) ℂ → (c d : ℕ) →
    Matrix (Fin c × Fin d) (Fin c × Fin d) ℂ → ℕ → Prop where
  | local {a b c d : ℕ} (rho : Matrix (Fin a × Fin b) (Fin a × Fin b) ℂ)
      (F : Superop (Fin a) (Fin c)) (G : Superop (Fin b) (Fin d))
      (hF : IsChannel F) (hG : IsChannel G) :
      QuantumExecution a b rho c d (localOutput F G rho) 0
  | alice {a b : ℕ} (rho : Matrix (Fin (a*2) × Fin b) (Fin (a*2) × Fin b) ℂ) :
      QuantumExecution (a*2) b rho a (2*b) (sendAlice rho) 1
  | bob {a b : ℕ} (rho : Matrix (Fin a × Fin (2*b)) (Fin a × Fin (2*b)) ℂ) :
      QuantumExecution a (2*b) rho (a*2) b (sendBob rho) 1
  | trans {a b c d e f q r : ℕ}
      {rho : Matrix (Fin a × Fin b) (Fin a × Fin b) ℂ}
      {sigma : Matrix (Fin c × Fin d) (Fin c × Fin d) ℂ}
      {tau : Matrix (Fin e × Fin f) (Fin e × Fin f) ℂ}
      (first : QuantumExecution a b rho c d sigma q)
      (second : QuantumExecution c d sigma e f tau r) :
      QuantumExecution a b rho e f tau (q+r)

/-- PDF p.2, Eq.(2): at most l qubits, with the endpoint equal to the actual
executed output, including all records that the protocol retains. -/
def QuantumObtainable {a b c d : ℕ} (l : ℕ)
    (rho : Matrix (Fin a × Fin b) (Fin a × Fin b) ℂ)
    (sigma : Matrix (Fin c × Fin d) (Fin c × Fin d) ℂ) : Prop :=
  ∃ q : ℕ, q ≤ l ∧ QuantumExecution a b rho c d sigma q

/-- Sanity: sending a qubit and sending it back preserves every matrix entry. -/
example {a b : ℕ} (rho : Matrix (Fin (a*2) × Fin b) (Fin (a*2) × Fin b) ℂ) :
    sendBob (sendAlice rho) = rho := by
  ext x y
  simp only [sendBob, sendAlice, Equiv.symm_apply_apply, Prod.eta,
    Equiv.apply_symm_apply]

/-- PDF p.6: a nontrivial prime power p^n, n>=1. -/
def IsPrimePower (d : ℕ) : Prop :=
  ∃ p n : ℕ, Nat.Prime p ∧ 0 < n ∧ d = p ^ n

/-- PDF p.6, Theorem 2: the least prime power no smaller than d. -/
def IsLeastPrimePowerAbove (d dp : ℕ) : Prop :=
  d ≤ dp ∧ IsPrimePower dp ∧ ∀ q : ℕ, d ≤ q → IsPrimePower q → dp ≤ q

/-- PDF p.6: eta(x)=-x log_2 x, continuously interpreted as zero at x=0.
This is distinct from the frozen tomography loss Claimed50.P28.eta and the
SchmidtInput.eta seed-vector construction in Next46.P39; neither has this scalar entropy body. -/
def lockingEntropyTerm (x : ℝ) : ℝ := -x * Real.logb 2 x

/-- PDF pp.4,6: shorthand for sqrt(2 ln(2) I_c(rho)); ln is natural log. -/
def correlationRoot {A B : Type} [Fintype A] [Fintype B]
    (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  Real.sqrt (2 * Real.log 2 * lockingMeasuredInformation rho)

/-- PDF p.6: the printed refined continuity error, with its exact coefficient. -/
def refinedError {A B : Type} [Fintype A] [Fintype B]
    (d dp : ℕ) (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  let x := ((dp : ℝ)+1)^2 * correlationRoot rho
  2 * x * Real.logb 2 d + lockingEntropyTerm x

/-- Sanity: when I_c vanishes, the square-root parameter is exactly zero. -/
example {A B : Type} [Fintype A] [Fintype B]
    (rho : Matrix (A × B) (A × B) ℂ) (h : lockingMeasuredInformation rho = 0) :
    correlationRoot rho = 0 := by
  simp [correlationRoot, h]

/-- Sanity: the refined error also vanishes continuously at zero correlation. -/
example {A B : Type} [Fintype A] [Fintype B] (d dp : ℕ)
    (rho : Matrix (A × B) (A × B) ℂ) (h : lockingMeasuredInformation rho = 0) :
    refinedError d dp rho = 0 := by
  simp [refinedError, correlationRoot, h, lockingEntropyTerm]

/-- Sanity: the continuous zero convention does not add a positivity assumption. -/
example : lockingEntropyTerm 0 = 0 := by simp [lockingEntropyTerm]

/-- Sanity: 2 is a prime power with positive exponent. -/
example : IsPrimePower 2 := ⟨2, 1, by norm_num, by norm_num, by norm_num⟩

end QAlgorithms.Papers.Independent.Intakenext100.P100
Source
Locking classical correlation in quantum states, arXiv:quant-ph/0303088v1, https://arxiv.org/abs/quant-ph/0303088v1
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

QAlgorithms.Papers.Independent.Intakenext100.P100.IsLeastPrimePowerAbove

For natural numbers d,d′d,d'd,d′, this means that d≤d′d\le d'd≤d′, that d′=pnd'=p^nd′=pn for some prime natural number ppp and positive natural number nnn, and that every natural number q≥dq\ge dq≥d which is itself a positive power of a prime satisfies d′≤qd'\le qd′≤q. The comparison with ddd is non-strict, so d′=dd'=dd′=d is permitted. The definition includes d=0d=0d=0 and d=1d=1d=1; in either case its conditions select d′=2d'=2d′=2.

QAlgorithms.Papers.Independent.Intakenext100.P100.IsPrimePower

For a natural number ddd, this means that there exist natural numbers p,np,np,n such that ppp is prime, n>0n>0n>0, and d=pnd=p^nd=pn. Thus the exponent must be positive, and neither 000 nor 111 satisfies the definition.

QAlgorithms.Papers.Independent.Intakenext100.P100.IsUnbiasedFamily

For any natural numbers d,Ld,Ld,L and family (Ut)t<L(U_t)_{t<L}(Ut​)t<L​ of unitary complex d×dd\times dd×d matrices, this predicate requires that Ut=IdU_t=I_dUt​=Id​ for every index ttt whose natural-number value is 000, and that for every pair of distinct indices t,s<Lt,s<Lt,s<L and every k,j<dk,j<dk,j<d, ∣∑i<d(Ut)ik‾(Us)ij∣2=1/d\left|\sum_{i<d}\overline{(U_t)_{ik}}(U_s)_{ij}\right|^2=1/d​∑i<d​(Ut​)ik​​(Us​)ij​​2=1/d. When L=0L=0L=0, both requirements are vacuous; when L=1L=1L=1, only the identity requirement remains. When d=0d=0d=0, the requirement quantified over k,jk,jk,j is vacuous, and the reciprocal 1/01/01/0 is defined to be 000.

QAlgorithms.Papers.Independent.Intakenext100.P100.OneWayMap

For any finite types A,B,C,DA,B,C,DA,B,C,D, each with a finite enumeration, and any natural number lll, this structure consists of a natural number MMM of messages satisfying 0<M≤2l0<M\le 2^l0<M≤2l, a natural number RRR, matrices Ktr∈CC×AK_{tr}\in\mathbb C^{C\times A}Ktr​∈CC×A for t<Mt<Mt<M and r<Rr<Rr<R, and functions Φt:CB×B→CD×D\Phi_t:\mathbb C^{B\times B}\to\mathbb C^{D\times D}Φt​:CB×B→CD×D. The matrices must satisfy ∑t<M∑r<RKtr†Ktr=IA\sum_{t<M}\sum_{r<R}K_{tr}^{\dagger}K_{tr}=I_A∑t<M​∑r<R​Ktr†​Ktr​=IA​. For every ttt, the function Φt\Phi_tΦt​ must admit a finite Kraus representation: there exist a natural number sts_tst​ and matrices Ltj∈CD×BL_{tj}\in\mathbb C^{D\times B}Ltj​∈CD×B such that ∑j<stLtj†Ltj=IB\sum_{j<s_t}L_{tj}^{\dagger}L_{tj}=I_B∑j<st​​Ltj†​Ltj​=IB​ and Φt(X)=∑j<stLtjXLtj†\Phi_t(X)=\sum_{j<s_t}L_{tj}XL_{tj}^{\dagger}Φt​(X)=∑j<st​​Ltj​XLtj†​ for every complex matrix XXX on BBB. The types may be empty, RRR and sts_tst​ may be zero subject to these equations, and l=0l=0l=0 forces M=1M=1M=1.

QAlgorithms.Papers.Independent.Intakenext100.P100.QuantumExecution

This defines a relation between an arbitrary complex matrix ρ\rhoρ on [a]×[b][a]\times[b][a]×[b], an arbitrary complex matrix σ\sigmaσ on [c]×[d][c]\times[d][c]×[d], and a natural-number cost, generated by the following rules: applying a channel FFF to the first register and a channel GGG to the second produces (F⊗G)(ρ)(F\otimes G)(\rho)(F⊗G)(ρ) at cost 000; regrouping [2a]×[b][2a]\times[b][2a]×[b] into [a]×[2b][a]\times[2b][a]×[2b] by moving the two-dimensional factor from the first register to the second costs 111; the reverse regrouping also costs 111; and executions of costs qqq and rrr through exactly the same intermediate matrix compose to an execution of cost q+rq+rq+r. Here each channel must admit finitely many rectangular Kraus matrices KjK_jKj​ with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I and act on every matrix as X↦∑jKjXKj†X\mapsto\sum_jK_jXK_j^\daggerX↦∑j​Kj​XKj†​; the local tensor action applies these maps to the corresponding matrix blocks. The regroupings use the fixed finite-product indexing bijections. All dimensions and costs are natural numbers, including zero, and the relation imposes no density-matrix assumption on its input, intermediate, or output matrices.

QAlgorithms.Papers.Independent.Intakenext100.P100.QuantumObtainable

For arbitrary natural numbers a,b,c,d,la,b,c,d,la,b,c,d,l and arbitrary complex matrices ρ\rhoρ on [a]×[b][a]\times[b][a]×[b] and σ\sigmaσ on [c]×[d][c]\times[d][c]×[d], this means that there exists a natural number q≤lq\le lq≤l and an execution from ρ\rhoρ to σ\sigmaσ of cost qqq. Such executions are generated by independent local channels at cost 000, regrouping a two-dimensional factor from either register into the other at cost 111, and finite composition with costs added; each local channel has a finite Kraus representation X↦∑jKjXKj†X\mapsto\sum_jK_jXK_j^\daggerX↦∑j​Kj​XKj†​ satisfying ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I, and the regroupings use the fixed finite-product indexing bijections. Neither matrix is required to be a density matrix. Zero dimensions and l=0l=0l=0 are included, and the cost need only be at most lll.

QAlgorithms.Papers.Independent.Intakenext100.P100.basisScore

For any natural numbers d,Ld,Ld,L, any family (Ut)t<L(U_t)_{t<L}(Ut​)t<L​ of unitary complex d×dd\times dd×d matrices, and any vector ϕ∈Cd\phi\in\mathbb C^dϕ∈Cd, this defines the real number L−1∑t<L∑k<dptklog⁡2ptkL^{-1}\sum_{t<L}\sum_{k<d}p_{tk}\log_2 p_{tk}L−1∑t<L​∑k<d​ptk​log2​ptk​, where ptk=∣∑i<dϕi‾(Ut)ik∣2p_{tk}=\left|\sum_{i<d}\overline{\phi_i}(U_t)_{ik}\right|^2ptk​=​∑i<d​ϕi​​(Ut​)ik​​2. There is no normalization hypothesis on ϕ\phiϕ and no unbiasedness hypothesis on the unitary family. A zero ptkp_{tk}ptk​ contributes zero because the total real logarithm satisfies log⁡20=0\log_2 0=0log2​0=0. If L=0L=0L=0 or d=0d=0d=0, the score is 000, using empty sums and 0−1=00^{-1}=00−1=0.

QAlgorithms.Papers.Independent.Intakenext100.P100.correlationRoot

For arbitrary finite types A,BA,BA,B, with their supplied finite enumerations, and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, this defines

2log⁡2 I(ρ).\sqrt{2\log2\,\mathcal I(\rho)}.2log2I(ρ)​.

Here I(ρ)=0\mathcal I(\rho)=0I(ρ)=0 unless both types have positive cardinality and ρ\rhoρ is positive semidefinite with trace 111; otherwise, after identifying the types with their finite enumerations, I(ρ)\mathcal I(\rho)I(ρ) is the supremum over all natural numbers k,ℓk,\ellk,ℓ and all families of positive semidefinite matrices (Ms)s∈[k](M_s)_{s\in[k]}(Ms​)s∈[k]​, (Nt)t∈[ℓ](N_t)_{t\in[\ell]}(Nt​)t∈[ℓ]​ satisfying ∑sMs=IA\sum_sM_s=I_A∑s​Ms​=IA​ and ∑tNt=IB\sum_tN_t=I_B∑t​Nt​=IB​, of

∑s,tpstlog⁡2pst(∑vpsv)(∑uput),pst=Re⁡tr⁡((Ms⊗Nt)ρ).\sum_{s,t}p_{st}\log_2 \frac{p_{st}}{(\sum_vp_{sv})(\sum_up_{ut})}, \qquad p_{st}=\operatorname{Re}\operatorname{tr}((M_s\otimes N_t)\rho).s,t∑​pst​log2​(∑v​psv​)(∑u​put​)pst​​,pst​=Retr((Ms​⊗Nt​)ρ).

Division and logarithms are total, with division by zero and log⁡20\log_2 0log2​0 both evaluated as 000. The square root is also total and is 000 on nonpositive arguments. No density-matrix assumption is imposed on the argument; empty types therefore give value 000.

QAlgorithms.Papers.Independent.Intakenext100.P100.disclosedState

For any natural numbers d,Ld,Ld,L, this defines a complex matrix on (Fin⁡(d)×Fin⁡(L))2(\operatorname{Fin}(d)\times\operatorname{Fin}(L))^2(Fin(d)×Fin(L))2. Its entry at row aaa and column bbb is (Ld)−1(Ld)^{-1}(Ld)−1 exactly when a=ba=ba=b and the two components of aaa are equal, and is 000 otherwise. Equivalently, its only potentially nonzero entries are the diagonal entries indexed by ((i,t),(i,t))((i,t),(i,t))((i,t),(i,t)), each with value (Ld)−1(Ld)^{-1}(Ld)−1. If d=0d=0d=0 or L=0L=0L=0, its index set is empty; the inverse of zero is defined to be zero.

QAlgorithms.Papers.Independent.Intakenext100.P100.localOutput

For arbitrary natural numbers a,b,c,da,b,c,da,b,c,d, arbitrary functions F:Ca×a→Cc×cF:\mathbb C^{a\times a}\to\mathbb C^{c\times c}F:Ca×a→Cc×c and G:Cb×b→Cd×dG:\mathbb C^{b\times b}\to\mathbb C^{d\times d}G:Cb×b→Cd×d, and any complex matrix ρ\rhoρ indexed by [a]×[b][a]\times[b][a]×[b], where [r]={0,…,r−1}[r]=\{0,\ldots,r-1\}[r]={0,…,r−1}, this defines a matrix ω\omegaω indexed by [c]×[d][c]\times[d][c]×[d] by

ω(u,v),(u′,v′)=G ⁣([F ⁣([ρ(i,j),(i′,j′)]i,i′∈[a])u,u′]j,j′∈[b])v,v′.\omega_{(u,v),(u',v')}= G\!\left(\left[ F\!\left([\rho_{(i,j),(i',j')}]_{i,i'\in[a]}\right)_{u,u'} \right]_{j,j'\in[b]}\right)_{v,v'}.ω(u,v),(u′,v′)​=G([F([ρ(i,j),(i′,j′)​]i,i′∈[a]​)u,u′​]j,j′∈[b]​)v,v′​.

Thus FFF is applied to each block obtained by fixing the two second-register indices, and GGG is then applied to each block obtained by fixing the two output first-register indices. Neither function is assumed linear or a channel, and ρ\rhoρ is not assumed positive or normalized. Zero dimensions are included.

QAlgorithms.Papers.Independent.Intakenext100.P100.lockingCopies

For any natural numbers d,Ld,Ld,L, any family (Ut)t<L(U_t)_{t<L}(Ut​)t<L​ of unitary complex d×dd\times dd×d matrices, and any natural number mmm, this abbreviates the matrix on (Fin⁡(m)→Fin⁡(d)×Fin⁡(L))×(Fin⁡(m)→Fin⁡(d))(\operatorname{Fin}(m)\to\operatorname{Fin}(d)\times\operatorname{Fin}(L))\times(\operatorname{Fin}(m)\to\operatorname{Fin}(d))(Fin(m)→Fin(d)×Fin(L))×(Fin(m)→Fin(d)) whose entry at row (a,x)(a,x)(a,x) and column (b,y)(b,y)(b,y) is ∏r<mfr\prod_{r<m}f_r∏r<m​fr​, where fr=(Ld)−1(Ut)x(r),i(Ut)y(r),i‾f_r=(Ld)^{-1}(U_t)_{x(r),i}\overline{(U_t)_{y(r),i}}fr​=(Ld)−1(Ut​)x(r),i​(Ut​)y(r),i​​ if a(r)=b(r)=(i,t)a(r)=b(r)=(i,t)a(r)=b(r)=(i,t), and fr=0f_r=0fr​=0 if a(r)≠b(r)a(r)\ne b(r)a(r)=b(r). No unbiasedness assumption is imposed. For m=0m=0m=0, the index set has one element and its sole matrix entry is the empty product 111, including when d=0d=0d=0 or L=0L=0L=0; for m>0m>0m>0, either of those zero parameters makes the matrix index set empty.

QAlgorithms.Papers.Independent.Intakenext100.P100.lockingEntropyTerm

For every real number xxx, this defines the real value −xlog⁡2x-x\log_2 x−xlog2​x. The logarithm is the total real logarithm used by the code: log⁡20=0\log_2 0=0log2​0=0, and for x≠0x\ne0x=0 it equals log⁡∣x∣/log⁡2\log|x|/\log2log∣x∣/log2. Consequently the value at x=0x=0x=0 is 000, and negative inputs are also included without any probability-range assumption.

QAlgorithms.Papers.Independent.Intakenext100.P100.lockingMeasuredInformation

For any finite types A,BA,BA,B with specified finite enumerations and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, this defines a real number as follows. If either type is empty, or if ρ\rhoρ is not positive semidefinite with trace one, the value is 000. Otherwise, reindex ρ\rhoρ as ρ~\widetilde\rhoρ​ on Fin⁡(∣A∣)×Fin⁡(∣B∣)\operatorname{Fin}(|A|)\times\operatorname{Fin}(|B|)Fin(∣A∣)×Fin(∣B∣) using the enumeration equivalences. The value is the real supremum over all natural numbers k,ℓk,\ellk,ℓ and families of positive semidefinite matrices EuE_uEu​ on Fin⁡(∣A∣)\operatorname{Fin}(|A|)Fin(∣A∣) and FvF_vFv​ on Fin⁡(∣B∣)\operatorname{Fin}(|B|)Fin(∣B∣), satisfying ∑u<kEu=I\sum_{u<k}E_u=I∑u<k​Eu​=I and ∑v<ℓFv=I\sum_{v<\ell}F_v=I∑v<ℓ​Fv​=I, of ∑u<k∑v<ℓPuvlog⁡2 ⁣(Puv/((∑v′Puv′)(∑u′Pu′v)))\sum_{u<k}\sum_{v<\ell}P_{uv}\log_2\!\bigl(P_{uv}/((\sum_{v'}P_{uv'})(\sum_{u'}P_{u'v}))\bigr)∑u<k​∑v<ℓ​Puv​log2​(Puv​/((∑v′​Puv′​)(∑u′​Pu′v​))), where Puv=Re⁡tr⁡((Eu⊗Fv)ρ~)P_{uv}=\operatorname{Re}\operatorname{tr}((E_u\otimes F_v)\widetilde\rho)Puv​=Retr((Eu​⊗Fv​)ρ​). Division by zero and logarithms at zero use the total real operations, with 0−1=00^{-1}=00−1=0 and log⁡20=0\log_2 0=0log2​0=0.

QAlgorithms.Papers.Independent.Intakenext100.P100.lockingState

For any natural numbers d,Ld,Ld,L and any family (Ut)t<L(U_t)_{t<L}(Ut​)t<L​ of unitary complex d×dd\times dd×d matrices, this defines a matrix on (Fin⁡(d)×Fin⁡(L))×Fin⁡(d)(\operatorname{Fin}(d)\times\operatorname{Fin}(L))\times\operatorname{Fin}(d)(Fin(d)×Fin(L))×Fin(d) by ρU(((i,t),x),((j,s),y))=(Ld)−1(Ut)xi(Ut)yi‾\rho_U(((i,t),x),((j,s),y))=(Ld)^{-1}(U_t)_{xi}\overline{(U_t)_{yi}}ρU​(((i,t),x),((j,s),y))=(Ld)−1(Ut​)xi​(Ut​)yi​​ when (i,t)=(j,s)(i,t)=(j,s)(i,t)=(j,s), and 000 otherwise. No unbiasedness condition is imposed on the family. The parameters d=0d=0d=0 and L=0L=0L=0 are allowed; in either case the matrix has an empty index set, and the scalar inverse of Ld=0Ld=0Ld=0 is defined to be 000.

QAlgorithms.Papers.Independent.Intakenext100.P100.maximalBasisScore

For any natural numbers d,Ld,Ld,L and any family (Ut)t<L(U_t)_{t<L}(Ut​)t<L​ of unitary complex d×dd\times dd×d matrices, this defines the real supremum of L−1∑t<L∑k<dptklog⁡2ptkL^{-1}\sum_{t<L}\sum_{k<d}p_{tk}\log_2 p_{tk}L−1∑t<L​∑k<d​ptk​log2​ptk​ over all vectors ϕ∈Cd\phi\in\mathbb C^dϕ∈Cd with Euclidean norm 111, where ptk=∣∑i<dϕi‾(Ut)ik∣2p_{tk}=\left|\sum_{i<d}\overline{\phi_i}(U_t)_{ik}\right|^2ptk​=​∑i<d​ϕi​​(Ut​)ik​​2. No unbiasedness condition is required. Zero terms use log⁡20=0\log_2 0=0log2​0=0, and L=0L=0L=0 gives value 000. If d=0d=0d=0, there are no norm-one vectors, so the set whose real supremum is taken is empty and the defined value is 000.

QAlgorithms.Papers.Independent.Intakenext100.P100.measuredState

For finite types A,BA,BA,B with specified finite enumerations, a complex matrix ρ\rhoρ indexed by A×BA\times BA×B, and hypotheses ∣A∣>0|A|>0∣A∣>0, ∣B∣>0|B|>0∣B∣>0, and that ρ\rhoρ is positive semidefinite with tr⁡ρ=1\operatorname{tr}\rho=1trρ=1, this defines a bundled state with two parties. Its local dimensions are d0=∣A∣d_0=|A|d0​=∣A∣ and d1=∣B∣d_1=|B|d1​=∣B∣, both recorded as positive, and its matrix on ∏i=01Fin⁡(di)\prod_{i=0}^{1}\operatorname{Fin}(d_i)∏i=01​Fin(di​) has entries ρ~(x,y)=ρ((eA−1(x(0)),eB−1(x(1))),(eA−1(y(0)),eB−1(y(1))))\widetilde\rho(x,y)=\rho((e_A^{-1}(x(0)),e_B^{-1}(x(1))),(e_A^{-1}(y(0)),e_B^{-1}(y(1))))ρ​(x,y)=ρ((eA−1​(x(0)),eB−1​(x(1))),(eA−1​(y(0)),eB−1​(y(1)))), using the equivalences eA:A≃Fin⁡(∣A∣)e_A:A\simeq\operatorname{Fin}(|A|)eA​:A≃Fin(∣A∣) and eB:B≃Fin⁡(∣B∣)e_B:B\simeq\operatorname{Fin}(|B|)eB​:B≃Fin(∣B∣) supplied by the enumerations. The bundle records that this reindexed matrix is positive semidefinite and has trace one.

QAlgorithms.Papers.Independent.Intakenext100.P100.oneWayInformation

For finite types A,BA,BA,B with finite enumerations, any natural number lll, and any complex matrix ρ\rhoρ on A×BA\times BA×B, this defines the real supremum over all natural numbers c,dc,dc,d and the following data: a message count 0<M≤2l0<M\le2^l0<M≤2l, a natural number RRR, matrices Ktr∈C(c+1)×AK_{tr}\in\mathbb C^{(c+1)\times A}Ktr​∈C(c+1)×A satisfying ∑t,rKtr†Ktr=IA\sum_{t,r}K_{tr}^{\dagger}K_{tr}=I_A∑t,r​Ktr†​Ktr​=IA​, and functions Φt:CB×B→C(d+1)×(d+1)\Phi_t:\mathbb C^{B\times B}\to\mathbb C^{(d+1)\times(d+1)}Φt​:CB×B→C(d+1)×(d+1), each admitting a finite Kraus representation with adjoint products summing to IBI_BIB​. Form YYY by Y((u,v),(u′,v′))=∑tΦt(Xu,u′t)(v,v′)Y((u,v),(u',v'))=\sum_t\Phi_t(X^t_{u,u'})(v,v')Y((u,v),(u′,v′))=∑t​Φt​(Xu,u′t​)(v,v′), where Xu,u′t(b,b′)=∑r,a,a′Ktr(u,a)ρ((a,b),(a′,b′))Ktr(u′,a′)‾X^t_{u,u'}(b,b')=\sum_{r,a,a'}K_{tr}(u,a)\rho((a,b),(a',b'))\overline{K_{tr}(u',a')}Xu,u′t​(b,b′)=∑r,a,a′​Ktr​(u,a)ρ((a,b),(a′,b′))Ktr​(u′,a′)​. The number included in the supremum is 000 if YYY is not positive semidefinite with trace one; otherwise it is the supremum over all finite positive semidefinite families (Ei)(E_i)(Ei​), (Fj)(F_j)(Fj​) on the two output factors, each summing to its identity, of ∑i,jpijlog⁡2(pij/(piqj))\sum_{i,j}p_{ij}\log_2(p_{ij}/(p_iq_j))∑i,j​pij​log2​(pij​/(pi​qj​)), where pij=Re⁡tr⁡((Ei⊗Fj)Y)p_{ij}=\operatorname{Re}\operatorname{tr}((E_i\otimes F_j)Y)pij​=Retr((Ei​⊗Fj​)Y), pi=∑jpijp_i=\sum_jp_{ij}pi​=∑j​pij​, and qj=∑ipijq_j=\sum_ip_{ij}qj​=∑i​pij​. Both output dimensions are positive, but A,BA,BA,B may be empty and ρ\rhoρ need not be a density matrix; l=0l=0l=0 permits only one message. All suprema are real suprema, and zero denominators and logarithms use the total real operations.

QAlgorithms.Papers.Independent.Intakenext100.P100.oneWayOutput

For finite types A,B,C,DA,B,C,DA,B,C,D with finite enumerations, any natural number lll, a map PPP consisting of 0<M≤2l0<M\le2^l0<M≤2l messages, matrices Ktr:A→CK_{tr}:A\to CKtr​:A→C satisfying ∑t,rKtr†Ktr=IA\sum_{t,r}K_{tr}^{\dagger}K_{tr}=I_A∑t,r​Ktr†​Ktr​=IA​, and maps Φt:B→D\Phi_t:B\to DΦt​:B→D admitting finite Kraus representations whose adjoint products sum to IBI_BIB​, this defines an output matrix for every complex matrix ρ\rhoρ on A×BA\times BA×B, without requiring ρ\rhoρ to be a density matrix. Its entries are ρout((c,d),(c′,d′))=∑t<MΦt(Xc,c′t)(d,d′)\rho_{\mathrm{out}}((c,d),(c',d'))=\sum_{t<M}\Phi_t(X^{t}_{c,c'})(d,d')ρout​((c,d),(c′,d′))=∑t<M​Φt​(Xc,c′t​)(d,d′), where the matrix Xc,c′tX^{t}_{c,c'}Xc,c′t​ on BBB has entries Xc,c′t(b,b′)=∑r<R∑a,a′∈AKtr(c,a)ρ((a,b),(a′,b′))Ktr(c′,a′)‾X^{t}_{c,c'}(b,b')=\sum_{r<R}\sum_{a,a'\in A}K_{tr}(c,a)\rho((a,b),(a',b'))\overline{K_{tr}(c',a')}Xc,c′t​(b,b′)=∑r<R​∑a,a′∈A​Ktr​(c,a)ρ((a,b),(a′,b′))Ktr​(c′,a′)​. Thus each message branch applies its matrices on the first subsystem, applies its corresponding map on the second subsystem, and the resulting matrices are summed over messages. Empty finite types and l=0l=0l=0 are included whenever the required structure exists.

QAlgorithms.Papers.Independent.Intakenext100.P100.pairBasis

For any finite types AAA and BBB, each equipped with a finite enumeration, this defines an equivalence from the dependent function space ∏i=01Fin⁡(di)\prod_{i=0}^{1}\operatorname{Fin}(d_i)∏i=01​Fin(di​), where d0=∣A∣d_0=|A|d0​=∣A∣ and d1=∣B∣d_1=|B|d1​=∣B∣, to A×BA\times BA×B. It sends a function xxx to (eA−1(x(0)),eB−1(x(1)))(e_A^{-1}(x(0)),e_B^{-1}(x(1)))(eA−1​(x(0)),eB−1​(x(1))), where eA:A≃Fin⁡(∣A∣)e_A:A\simeq\operatorname{Fin}(|A|)eA​:A≃Fin(∣A∣) and eB:B≃Fin⁡(∣B∣)e_B:B\simeq\operatorname{Fin}(|B|)eB​:B≃Fin(∣B∣) are the equivalences supplied by the finite enumerations. Empty types are allowed; if either type is empty, both sides of this equivalence are empty.

QAlgorithms.Papers.Independent.Intakenext100.P100.refinedError

For arbitrary finite types A,BA,BA,B, with their supplied finite enumerations, arbitrary natural numbers d,d′d,d'd,d′, and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, this defines

x=(d′+1)22log⁡2 I(ρ),2xlog⁡2d−xlog⁡2x.x=(d'+1)^2\sqrt{2\log2\,\mathcal I(\rho)}, \qquad 2x\log_2d-x\log_2x.x=(d′+1)22log2I(ρ)​,2xlog2​d−xlog2​x.

Here I(ρ)=0\mathcal I(\rho)=0I(ρ)=0 unless A,BA,BA,B have positive cardinalities and ρ\rhoρ is positive semidefinite with trace 111; otherwise it is the supremum over all finite local POVMs (Ms)(M_s)(Ms​) on AAA and (Nt)(N_t)(Nt​) on BBB—positive semidefinite matrices summing to their respective identities—of ∑s,tpstlog⁡2[pst/((∑vpsv)(∑uput))]\sum_{s,t}p_{st}\log_2[p_{st}/((\sum_vp_{sv})(\sum_up_{ut}))]∑s,t​pst​log2​[pst​/((∑v​psv​)(∑u​put​))], where pst=Re⁡tr⁡((Ms⊗Nt)ρ)p_{st}=\operatorname{Re}\operatorname{tr}((M_s\otimes N_t)\rho)pst​=Retr((Ms​⊗Nt​)ρ). All divisions and logarithms use their total real conventions, so division by zero and log⁡20\log_2 0log2​0 give 000, and square roots of nonpositive numbers give 000. There is no assumed relation between ddd and d′d'd′, no prime-power assumption, and d=0d=0d=0 is allowed, in which case the first summand vanishes. If the density or cardinality test fails, the entire value is 000.

QAlgorithms.Papers.Independent.Intakenext100.P100.sendAlice

For arbitrary natural numbers a,ba,ba,b and any complex matrix ρ\rhoρ indexed by [2a]×[b][2a]\times[b][2a]×[b], this defines a matrix indexed by [a]×[2b][a]\times[2b][a]×[2b] by regrouping a two-dimensional factor from the first register into the second. More precisely, writing eu,v:[u]×[v]→[uv]e_{u,v}:[u]\times[v]\to[uv]eu,v​:[u]×[v]→[uv] for the fixed finite-product indexing bijections used in the definition, the resulting matrix satisfies

ω(i,e2,b(s,j)),(i′,e2,b(s′,j′))=ρ(ea,2(i,s),j),(ea,2(i′,s′),j′)\omega_{(i,e_{2,b}(s,j)),(i',e_{2,b}(s',j'))} = \rho_{(e_{a,2}(i,s),j),(e_{a,2}(i',s'),j')}ω(i,e2,b​(s,j)),(i′,e2,b​(s′,j′))​=ρ(ea,2​(i,s),j),(ea,2​(i′,s′),j′)​

for every i,i′∈[a]i,i'\in[a]i,i′∈[a], s,s′∈[2]s,s'\in[2]s,s′∈[2], and j,j′∈[b]j,j'\in[b]j,j′∈[b]. No positivity or normalization assumption is imposed; if a=0a=0a=0 or b=0b=0b=0, the matrices have empty index sets.

QAlgorithms.Papers.Independent.Intakenext100.P100.sendBob

For arbitrary natural numbers a,ba,ba,b and any complex matrix ρ\rhoρ indexed by [a]×[2b][a]\times[2b][a]×[2b], this defines a matrix indexed by [2a]×[b][2a]\times[b][2a]×[b] by regrouping a two-dimensional factor from the second register into the first. With eu,v:[u]×[v]→[uv]e_{u,v}:[u]\times[v]\to[uv]eu,v​:[u]×[v]→[uv] denoting the fixed finite-product indexing bijections used in the definition, its entries satisfy

ω(ea,2(i,s),j),(ea,2(i′,s′),j′)=ρ(i,e2,b(s,j)),(i′,e2,b(s′,j′))\omega_{(e_{a,2}(i,s),j),(e_{a,2}(i',s'),j')} = \rho_{(i,e_{2,b}(s,j)),(i',e_{2,b}(s',j'))}ω(ea,2​(i,s),j),(ea,2​(i′,s′),j′)​=ρ(i,e2,b​(s,j)),(i′,e2,b​(s′,j′))​

for every i,i′∈[a]i,i'\in[a]i,i′∈[a], s,s′∈[2]s,s'\in[2]s,s′∈[2], and j,j′∈[b]j,j'\in[b]j,j′∈[b]. No positivity or normalization is required, and zero dimensions are allowed.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me