Definitions for Lower and upper bounds on the secret key rate for QKD protocols using one--way classical communication
DefinitionQAlgorithms_Papers_Independent_Intake100_P90The objects the formalized statements of Lower and upper bounds on the secret key rate for QKD protocols using one--way classical communication (arXiv:quant-ph/0410215) are stated in. Each was checked against the paper by a blind read-back and a moderator.
PairOpsourceBell: PDF p.2: the normalized Bell vectors, in the printed order Phi+, Phi-, Psi+, Psi-. The last vector is (|10>-|01>)/sqrt(2).sourceBellDiagonal: PDF pp.2--3: Bell-diagonal matrix with the specified four real weights. Physical uses carry nonnegativity and normalization.sourceZDisagreement: PDF p.3: actual computational-basis disagreement probability.sourcePauliChoice: PDF p.2: one of the four local operations Z^a X^b. The fourth differs from Y only by a phase, which cancels in conjugation.bilateralPauli: PDF p.2: independent two-qubit bilateral Pauli, on a single AB pair.pairTwirl: PDF p.2: the physical, trace-preserving D2. The printed bare sum is corrected to the uniform average, with factor 1/4.bb84BasisAverage: PDF p.4: BB84's equal-basis D1, with A=B=I or H.signalWord: PDF pp.1--2: the product signal chosen by Alice's bit word.localEncoding: PDF p.1: single-position encoding filter, before physical success scaling.encodingFilter: PDF p.1: the actual encoding filter. Its row is <(phi^a)*|, so its matrix entry is phi^a(b), with no remaining conjugation.sourceDecoder: PDF p.1: B_j=|0><hat(phi^1)|+|1><hat(phi^0)|, with an explicit positive physical scaling. For nonorthogonal signals the printed unscaled operator need not be a contraction, whereas every implemented success Kraus operator must be. Scaling is the same in both realizations.sourceTensorProduct: PDF pp.1--2: product decoding filter, allowing nonunitary contractions.pmBranch: PDF p.1: Eve's prepare-and-measure branch, after the same decoder and arbitrary coherent unitary on all signals and her pure ancillary register.eprResource: PDF p.2: normalized Phi+ tensor resource, ordered by Alice/Bob registers.ebVector: PDF p.2: explicitly evaluated (A tensor B) (I tensor U) (|Phi+>^tensor n tensor |eta>), with A and B measured as in the source.ebBranch: PDF p.2: Alice and Bob's computational-basis projection, retaining Eve.physicalEbVector: PDF pp.1--2: the actual successful EB filter branch, including the positive scaling of Alice's nonunitary encoding operation.encodingSuccessMass: PDF pp.1--2: Alice's encoding-success probability, before Bob's filter/measurement, evaluated from the physical EB branch.physicalEbBranch: PDF pp.1--2: physical EB Eve vector after both local filters and Alice/Bob's two measurement outcomes.sourceConditionalEve: PDF pp.1--2: conditional Eve density, only used at strictly positive mass. At the zero vector the total expression is zero, not a normalized state.mixOnFirst: PDF p.2: random local diagonal conjugations on Alice.mixOnSecond: PDF p.2: the analogous random diagonal conjugations on Bob.pairSymmetrize: PDF p.2: the uniform common pair permutation map P_S, not a sum.independentPairTwirl: PDF p.2: the independent bilateral Pauli average on n pairs.BellType: PDF p.2: all four nonnegative occupation numbers, summing to n. Using bounded naturals supplies the finite type without truncated subtraction.sortedBellWord: PDF p.2: sorted word Phi1^n1 Phi2^n2 Phi3^n3 Phi4^n4.bellWord: PDF p.2: normalized Bell product vector for a label word.bellCounts: PDF p.2: Bell occupations of a word; values are natural counts.bellTypeWeight: PDF p.2, Eq.(1): construct lambda by grouping actual Bell probabilities of the input according to occupation numbers; it is not supplied as a premise.IsPairBlockSeparable: PDF p.2: separability across AB pair blocks; an individual AB factor may be entangled. This definition makes no restriction on subsequent CPP.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Basic
import Definitions.Def_QAlgorithms_Defs_Information
import Definitions.Def_QAlgorithms_Defs_Gates
/-!
Statements from Kraus--Gisin--Renner, quant-ph/0410215v2.
The operational rate statements are explicitly deferred in the accompanying HARD.md.
New objects below are local to this paper. All measurement blocks are unnormalized;
only conditional states divide by their positive branch mass.
Computational-basis projectors reuse pureDensity (ket x). The paper-specific
source* objects have different domains and meanings from the accepted library
declarations with the short names flagged by the previous mechanical check;
see MODERATION_NOTES.md for the exact comparison.
-/
noncomputable section
open scoped ComplexConjugate ComplexOrder
attribute [local instance] Classical.propDecidable Classical.decEq
namespace QAlgorithms.Papers.Independent.Intake100.P90
abbrev PairOp := Matrix (Bool × Bool) (Bool × Bool) ℂ
/-- PDF p.2: the normalized Bell vectors, in the printed order
Phi+, Phi-, Psi+, Psi-. The last vector is (|10>-|01>)/sqrt(2). -/
def sourceBell (l : Fin 4) : EuclideanSpace ℂ (Bool × Bool) :=
WithLp.toLp 2 fun p =>
let c : ℂ := (Real.sqrt 2)⁻¹
if l = 0 then (if p.1 = p.2 then c else 0)
else if l = 1 then (if p.1 = p.2 then (if p.1 then -c else c) else 0)
else if l = 2 then (if p.1 ≠ p.2 then c else 0)
else (if p.1 ≠ p.2 then (if p.1 then c else -c) else 0)
/-- PDF pp.2--3: Bell-diagonal matrix with the specified four real weights.
Physical uses carry nonnegativity and normalization. -/
def sourceBellDiagonal (w : Fin 4 → ℝ) : PairOp :=
∑ l, (w l : ℂ) • pureDensity (sourceBell l)
/-- PDF p.3: actual computational-basis disagreement probability. -/
def sourceZDisagreement (rho : PairOp) : ℝ :=
(rho (false, true) (false, true)).re + (rho (true, false) (true, false)).re
/-- PDF p.2: one of the four local operations Z^a X^b. The fourth differs
from Y only by a phase, which cancels in conjugation. -/
def sourcePauliChoice (l : Fin 4) : Matrix Bool Bool ℂ :=
if l = 0 then 1 else if l = 1 then pauliZ
else if l = 2 then pauliX else pauliZ * pauliX
/-- PDF p.2: independent two-qubit bilateral Pauli, on a single AB pair. -/
def bilateralPauli (l : Fin 4) : PairOp :=
Matrix.kronecker (sourcePauliChoice l) (sourcePauliChoice l)
/-- PDF p.2: the physical, trace-preserving D2. The printed bare sum is
corrected to the uniform average, with factor 1/4. -/
def pairTwirl (rho : PairOp) : PairOp :=
(4⁻¹ : ℂ) • ∑ l : Fin 4, bilateralPauli l * rho * (bilateralPauli l).conjTranspose
/-- PDF p.4: BB84's equal-basis D1, with A=B=I or H. -/
def bb84BasisAverage (rho : PairOp) : PairOp :=
(2⁻¹ : ℂ) • (rho +
Matrix.kronecker hadamard hadamard * rho *
(Matrix.kronecker hadamard hadamard).conjTranspose)
/-- PDF pp.1--2: the product signal chosen by Alice's bit word. -/
def signalWord {n : ℕ} (phi : Fin n → Bool → EuclideanSpace ℂ Bool)
(a : Qubits n) : EuclideanSpace ℂ (Qubits n) :=
WithLp.toLp 2 fun b => ∏ i, phi i (a i) (b i)
/-- PDF p.1: single-position encoding filter, before physical success scaling. -/
def localEncoding (phi : Bool → EuclideanSpace ℂ Bool) : Matrix Bool Bool ℂ :=
fun a b => phi a b
/-- PDF p.1: the actual encoding filter. Its row is <(phi^a)*|,
so its matrix entry is phi^a(b), with no remaining conjugation. -/
def encodingFilter {n : ℕ} (phi : Fin n → Bool → EuclideanSpace ℂ Bool) :
Matrix (Qubits n) (Qubits n) ℂ :=
fun a b => signalWord phi a b
/-- PDF p.1: B_j=|0><hat(phi^1)|+|1><hat(phi^0)|, with an explicit
positive physical scaling. For nonorthogonal signals the printed unscaled
operator need not be a contraction, whereas every implemented success
Kraus operator must be. Scaling is the same in both realizations. -/
def sourceDecoder (hat : Bool → EuclideanSpace ℂ Bool) (s : ℝ) :
Matrix Bool Bool ℂ :=
fun a b => (s : ℂ) * conj (hat (!a) b)
/-- PDF pp.1--2: product decoding filter, allowing nonunitary contractions. -/
def sourceTensorProduct {I : Type*} {n : ℕ} (M : Fin n → Matrix I I ℂ) :
Matrix (Fin n → I) (Fin n → I) ℂ :=
fun x y => ∏ i, M i (x i) (y i)
/-- PDF p.1: Eve's prepare-and-measure branch, after the same decoder
and arbitrary coherent unitary on all signals and her pure ancillary register. -/
def pmBranch {n : ℕ} {E : Type*} [Fintype E]
(phi : Fin n → Bool → EuclideanSpace ℂ Bool)
(B : Fin n → Matrix Bool Bool ℂ)
(U : Matrix.unitaryGroup (Qubits n × E) ℂ) (eta : EuclideanSpace ℂ E)
(a k : Qubits n) : EuclideanSpace ℂ E :=
WithLp.toLp 2 fun e =>
∑ b : Qubits n, ∑ c : Qubits n, ∑ f : E,
sourceTensorProduct B k b * (U : Matrix _ _ ℂ) (b, e) (c, f) *
signalWord phi a c * eta f
/-- PDF p.2: normalized Phi+ tensor resource, ordered by Alice/Bob registers. -/
def eprResource (n : ℕ) : EuclideanSpace ℂ (Qubits n × Qubits n) :=
WithLp.toLp 2 fun p =>
if p.1 = p.2 then (((Real.sqrt 2)⁻¹ : ℂ) ^ n) else 0
/-- PDF p.2: explicitly evaluated (A tensor B) (I tensor U)
(|Phi+>^tensor n tensor |eta>), with A and B measured as in the source. -/
def ebVector {n : ℕ} {E : Type*} [Fintype E]
(phi : Fin n → Bool → EuclideanSpace ℂ Bool)
(B : Fin n → Matrix Bool Bool ℂ)
(U : Matrix.unitaryGroup (Qubits n × E) ℂ) (eta : EuclideanSpace ℂ E) :
EuclideanSpace ℂ (Qubits n × (Qubits n × E)) :=
WithLp.toLp 2 fun p =>
∑ d : Qubits n, ∑ b : Qubits n, ∑ c : Qubits n, ∑ f : E,
encodingFilter phi p.1 d * sourceTensorProduct B p.2.1 b *
(U : Matrix _ _ ℂ) (b, p.2.2) (c, f) * eprResource n (d, c) * eta f
/-- PDF p.2: Alice and Bob's computational-basis projection, retaining Eve. -/
def ebBranch {n : ℕ} {E : Type*} [Fintype E]
(phi : Fin n → Bool → EuclideanSpace ℂ Bool)
(B : Fin n → Matrix Bool Bool ℂ)
(U : Matrix.unitaryGroup (Qubits n × E) ℂ) (eta : EuclideanSpace ℂ E)
(a k : Qubits n) : EuclideanSpace ℂ E :=
WithLp.toLp 2 fun e => ebVector phi B U eta (a, k, e)
/-- PDF pp.1--2: the actual successful EB filter branch, including the
positive scaling of Alice's nonunitary encoding operation. -/
def physicalEbVector {n : ℕ} {E : Type*} [Fintype E]
(phi : Fin n → Bool → EuclideanSpace ℂ Bool)
(B : Fin n → Matrix Bool Bool ℂ)
(U : Matrix.unitaryGroup (Qubits n × E) ℂ) (eta : EuclideanSpace ℂ E)
(aScale : Fin n → ℝ) : EuclideanSpace ℂ (Qubits n × (Qubits n × E)) :=
((∏ i, aScale i : ℝ) : ℂ) • ebVector phi B U eta
/-- PDF pp.1--2: Alice's encoding-success probability, before Bob's
filter/measurement, evaluated from the physical EB branch. -/
def encodingSuccessMass {n : ℕ} {E : Type*} [Fintype E]
(phi : Fin n → Bool → EuclideanSpace ℂ Bool)
(U : Matrix.unitaryGroup (Qubits n × E) ℂ) (eta : EuclideanSpace ℂ E)
(aScale : Fin n → ℝ) : ℝ :=
(pureDensity (physicalEbVector phi (fun _ => 1) U eta aScale)).trace.re
/-- PDF pp.1--2: physical EB Eve vector after both local filters and
Alice/Bob's two measurement outcomes. -/
def physicalEbBranch {n : ℕ} {E : Type*} [Fintype E]
(phi : Fin n → Bool → EuclideanSpace ℂ Bool)
(B : Fin n → Matrix Bool Bool ℂ)
(U : Matrix.unitaryGroup (Qubits n × E) ℂ) (eta : EuclideanSpace ℂ E)
(aScale : Fin n → ℝ) (a k : Qubits n) : EuclideanSpace ℂ E :=
WithLp.toLp 2 fun e => physicalEbVector phi B U eta aScale (a, k, e)
/-- PDF pp.1--2: conditional Eve density, only used at strictly positive mass.
At the zero vector the total expression is zero, not a normalized state. -/
def sourceConditionalEve {I : Type*} [Fintype I]
(v : EuclideanSpace ℂ I) : Matrix I I ℂ :=
((pureDensity v).trace.re⁻¹ : ℂ) • pureDensity v
/-- PDF p.2: random local diagonal conjugations on Alice. -/
def mixOnFirst {I J K : Type*} [Fintype I] [Fintype J] [Fintype K]
[DecidableEq J] (p : K → ℝ) (O : K → Matrix I I ℂ)
(rho : Matrix (I × J) (I × J) ℂ) : Matrix (I × J) (I × J) ℂ :=
∑ k, (p k : ℂ) • (Matrix.kronecker (O k) (1 : Matrix J J ℂ) * rho *
(Matrix.kronecker (O k) (1 : Matrix J J ℂ)).conjTranspose)
/-- PDF p.2: the analogous random diagonal conjugations on Bob. -/
def mixOnSecond {I J K : Type*} [Fintype I] [Fintype J] [Fintype K]
[DecidableEq I] (p : K → ℝ) (O : K → Matrix J J ℂ)
(rho : Matrix (I × J) (I × J) ℂ) : Matrix (I × J) (I × J) ℂ :=
∑ k, (p k : ℂ) • (Matrix.kronecker (1 : Matrix I I ℂ) (O k) * rho *
(Matrix.kronecker (1 : Matrix I I ℂ) (O k)).conjTranspose)
/-- PDF p.2: the uniform common pair permutation map P_S, not a sum. -/
def pairSymmetrize {n : ℕ}
(rho : Matrix (Fin n → (Bool × Bool)) (Fin n → (Bool × Bool)) ℂ) :
Matrix (Fin n → (Bool × Bool)) (Fin n → (Bool × Bool)) ℂ :=
((Fintype.card (Equiv.Perm (Fin n)) : ℂ)⁻¹) •
∑ pi : Equiv.Perm (Fin n), (fun x y => rho (x ∘ pi) (y ∘ pi))
/-- PDF p.2: the independent bilateral Pauli average on n pairs. -/
def independentPairTwirl {n : ℕ}
(rho : Matrix (Fin n → (Bool × Bool)) (Fin n → (Bool × Bool)) ℂ) :
Matrix (Fin n → (Bool × Bool)) (Fin n → (Bool × Bool)) ℂ :=
((Fintype.card (Fin n → Fin 4) : ℂ)⁻¹) •
∑ w : Fin n → Fin 4,
sourceTensorProduct (fun i => bilateralPauli (w i)) * rho *
(sourceTensorProduct (fun i => bilateralPauli (w i))).conjTranspose
/-- PDF p.2: all four nonnegative occupation numbers, summing to n.
Using bounded naturals supplies the finite type without truncated subtraction. -/
abbrev BellType (n : ℕ) := {t : Fin 4 → Fin (n + 1) // ∑ l, (t l).val = n}
/-- PDF p.2: sorted word Phi1^n1 Phi2^n2 Phi3^n3 Phi4^n4. -/
def sortedBellWord {n : ℕ} (t : BellType n) (i : Fin n) : Fin 4 :=
if i.val < (t.val 0).val then 0
else if i.val < (t.val 0).val + (t.val 1).val then 1
else if i.val < (t.val 0).val + (t.val 1).val + (t.val 2).val then 2 else 3
/-- PDF p.2: normalized Bell product vector for a label word. -/
def bellWord {n : ℕ} (w : Fin n → Fin 4) : EuclideanSpace ℂ (Fin n → (Bool × Bool)) :=
WithLp.toLp 2 fun x => ∏ i, sourceBell (w i) (x i)
/-- PDF p.2: Bell occupations of a word; values are natural counts. -/
def bellCounts {n : ℕ} (w : Fin n → Fin 4) (l : Fin 4) : ℕ :=
(Finset.univ.filter fun i => w i = l).card
/-- PDF p.2, Eq.(1): construct lambda by grouping actual Bell probabilities
of the input according to occupation numbers; it is not supplied as a premise. -/
def bellTypeWeight {n : ℕ}
(rho : Matrix (Fin n → (Bool × Bool)) (Fin n → (Bool × Bool)) ℂ) (t : BellType n) : ℝ :=
∑ w ∈ Finset.univ.filter (fun w : Fin n → Fin 4 =>
∀ l, bellCounts w l = (t.val l).val), effectProb (pureDensity (bellWord w)) rho
/-- PDF p.2: separability across AB pair blocks; an individual AB factor
may be entangled. This definition makes no restriction on subsequent CPP. -/
def IsPairBlockSeparable {n : ℕ}
(rho : Matrix (Fin n → (Bool × Bool)) (Fin n → (Bool × Bool)) ℂ) : Prop :=
∃ q : ℕ, ∃ p : Fin q → ℝ, ∃ M : Fin q → Fin n → PairOp,
(∀ j, 0 ≤ p j) ∧ (∑ j, p j) = 1 ∧
(∀ j i, IsDensityMatrix (M j i)) ∧
rho = ∑ j, (p j : ℂ) • sourceTensorProduct (M j)
/-- Sanity: the encoding row is the original signal, not its conjugate. -/
example {n : ℕ} (phi : Fin n → Bool → EuclideanSpace ℂ Bool) (a b : Qubits n) :
encodingFilter phi a b = ∏ i, phi i (a i) (b i) := rfl
/-- Sanity: the decoder assigns the orthogonal-to-one vector to outcome zero. -/
example (hat : Bool → EuclideanSpace ℂ Bool) (s : ℝ) (b : Bool) :
sourceDecoder hat s false b = (s : ℂ) * conj (hat true b) := rfl
/-- Sanity: Alice's physical encoding vector includes the product scaling. -/
example {n : ℕ} {E : Type*} [Fintype E]
(phi : Fin n → Bool → EuclideanSpace ℂ Bool)
(B : Fin n → Matrix Bool Bool ℂ)
(U : Matrix.unitaryGroup (Qubits n × E) ℂ) (eta : EuclideanSpace ℂ E)
(aScale : Fin n → ℝ) :
physicalEbVector phi B U eta aScale =
((∏ i, aScale i : ℝ) : ℂ) • ebVector phi B U eta := rfl
/-- Sanity: zero pairs gives the scalar unit EPR resource. -/
example (a b : Qubits 0) : eprResource 0 (a, b) = 1 := by
have h : a = b := Subsingleton.elim _ _
simp [eprResource, h]
/-- Sanity: the last printed Bell vector has opposite |10> and |01> signs. -/
example : sourceBell 3 (true, false) = ((Real.sqrt 2)⁻¹ : ℂ) ∧
sourceBell 3 (false, true) = -((Real.sqrt 2)⁻¹ : ℂ) := by
simp [sourceBell]
/-- Sanity: zero pairs gives the unit product matrix. -/
example (M : Fin 0 → PairOp) (x y : Fin 0 → (Bool × Bool)) :
sourceTensorProduct M x y = 1 := by simp [sourceTensorProduct]
/-- Sanity: the QBER is zero on the zero matrix. Physical uses exclude it. -/
example : sourceZDisagreement (0 : PairOp) = 0 := by simp [sourceZDisagreement]
/-- Sanity: a singleton, identity diagonal mixture is the original state. -/
example {I J : Type*} [Fintype I] [Fintype J] [DecidableEq I] [DecidableEq J]
(rho : Matrix (I × J) (I × J) ℂ) :
mixOnFirst (fun _ : Unit => 1) (fun _ => (1 : Matrix I I ℂ)) rho = rho := by
simp [mixOnFirst, Matrix.one_kronecker_one]
end QAlgorithms.Papers.Independent.Intake100.P90
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intake100.P90.BellType
For every natural number , including , is the type of quadruples of integers satisfying for each and , together with a proof of this sum condition. For , its only quadruple is .
QAlgorithms.Papers.Independent.Intake100.P90.IsPairBlockSeparable
For every natural number , including , and every complex matrix indexed by functions from to Boolean pairs, this predicate means that there exist a natural number , real numbers for , and complex matrices indexed by Boolean pairs for and , such that every , , every is positive semidefinite with trace , and
The case is included in the existential quantifier but cannot satisfy the sum condition. The matrices have no further factorization requirement within their Boolean pair. When , the local-matrix conditions are vacuous, every empty product is , and the predicate holds exactly for the matrix with entry .
QAlgorithms.Papers.Independent.Intake100.P90.PairOp
This abbreviates the space of complex matrices whose rows and columns are indexed by ordered pairs of Boolean values: a matrix in this space has entries for , so it is a complex matrix.
QAlgorithms.Papers.Independent.Intake100.P90.bb84BasisAverage
For any complex matrix indexed by Boolean pairs, this defines
where the row and column order for is , denotes conjugate transpose, and . No further assumptions on are imposed.
QAlgorithms.Papers.Independent.Intake100.P90.bellCounts
For every natural number , every word , and every label , this definition gives . Labels need not occur, in which case their count is ; when , every label has count .
QAlgorithms.Papers.Independent.Intake100.P90.bellTypeWeight
For every natural number , every complex matrix indexed by configurations in , viewed as functions from to Boolean pairs, and every quadruple with and , this definition gives the real number
Here , with , , , and ; denote false and true, is the corresponding coordinate vector, and . No positivity or trace assumption is imposed on , and this definition alone imposes no nonnegativity condition on . When , the only type is and its weight is the real part of the sole entry of .
QAlgorithms.Papers.Independent.Intake100.P90.bellWord
For every natural number , including , and every word , this definition gives a complex Euclidean vector indexed by configurations , with amplitude . Identifying with and with , the four local vectors are
where has amplitude at the pair and elsewhere. When , there is one empty configuration and its amplitude is the empty product .
QAlgorithms.Papers.Independent.Intake100.P90.bilateralPauli
For each , this defines the complex matrix indexed by Boolean pairs, whose entry at row and column is . In Boolean order , the matrices are respectively
QAlgorithms.Papers.Independent.Intake100.P90.ebBranch
For any natural number , any finite type , any family , any family of complex Boolean-indexed matrices , any unitary matrix indexed by , any , and any Boolean strings of length , this defines a vector with coordinates
No normalization of or , and no restriction on , is assumed. The definition allows , with empty products equal to , and empty , yielding the unique vector on the empty index set.
QAlgorithms.Papers.Independent.Intake100.P90.ebVector
For any natural number , any finite type , any vectors for and Boolean , any complex Boolean-indexed matrices , any unitary matrix indexed by , and any , where is the set of Boolean strings of length , this defines a vector by
There are no normalization assumptions on or , and no restrictions on . This includes , with empty products equal to , and empty , for which the resulting vector has an empty coordinate set.
QAlgorithms.Papers.Independent.Intake100.P90.encodingFilter
For every natural number and every family of complex Euclidean vectors , where and is Boolean and each vector has Boolean coordinates, this defines the complex matrix whose rows and columns are indexed by length- Boolean strings and whose entries are
The vectors are unrestricted. When , the matrix has one row and one column, indexed by the empty string, and its entry is .
QAlgorithms.Papers.Independent.Intake100.P90.encodingSuccessMass
For any natural number , any finite type , any vectors , any unitary matrix indexed by , any , and any real numbers for , where is the set of Boolean strings of length , define
This definition returns the real part of the trace of the matrix with entries , namely
There are no normalization assumptions on or , and no positivity assumptions on . When is empty this value is ; when , empty products and the factor equal .
QAlgorithms.Papers.Independent.Intake100.P90.eprResource
For every natural number , writing for the set of Boolean strings of length , this defines a vector whose coordinates are
For , contains only the empty string, so the vector has one coordinate, equal to .
QAlgorithms.Papers.Independent.Intake100.P90.independentPairTwirl
For every natural number , including , and every complex matrix indexed by configurations , use the Boolean basis order and set , , , and , where
For each word , define by . The definition gives , where denotes conjugate transpose. No positivity or trace assumption is imposed on . When , the word and configuration sets are singletons, the empty product is , and the result equals .
QAlgorithms.Papers.Independent.Intake100.P90.localEncoding
For any assignment of a complex Euclidean vector with Boolean coordinates to each Boolean value, this defines the complex matrix with Boolean row index and Boolean column index by
There are no normalization or other assumptions on .
QAlgorithms.Papers.Independent.Intake100.P90.mixOnFirst
For any finite types , with decidable equality on , any real-valued function , any family of complex matrices indexed by , and any complex matrix indexed by , this defines the matrix
where is the identity matrix on , is the Kronecker product, and denotes conjugate transpose. There are no positivity or normalization assumptions on , no assumptions on , and no density-matrix assumption on . The types may be empty; if is empty, the sum is the zero matrix.
QAlgorithms.Papers.Independent.Intake100.P90.mixOnSecond
For any finite types , with decidable equality on , any real-valued function , any family of complex matrices indexed by , and any complex matrix indexed by , this defines the matrix
where is the identity matrix on , is the Kronecker product, and denotes conjugate transpose. There are no positivity or normalization assumptions on , no assumptions on , and no density-matrix assumption on . The types may be empty; if is empty, the sum is the zero matrix.
QAlgorithms.Papers.Independent.Intake100.P90.pairSymmetrize
For every natural number , including , and every complex matrix indexed by configurations , this definition gives the matrix whose entries are
where is the set of all permutations of and . No positivity, trace, or symmetry assumption is imposed on . When , there is one empty configuration and one permutation, so the resulting matrix equals .
QAlgorithms.Papers.Independent.Intake100.P90.pairTwirl
For any complex matrix indexed by Boolean pairs, this defines
where denotes conjugate transpose and, in Boolean order , are respectively , , , and . The tensor product has entries ; no further assumptions on are imposed.
QAlgorithms.Papers.Independent.Intake100.P90.physicalEbBranch
For any natural number , any finite type , any vectors , any complex Boolean-indexed matrices , any unitary matrix indexed by , any , any real numbers for , and any Boolean strings of length , this defines a vector by
There are no normalization assumptions on the vectors, no restrictions on , and no positivity assumptions on . The definition includes , with empty products equal to , and empty .
QAlgorithms.Papers.Independent.Intake100.P90.physicalEbVector
For any natural number , any finite type , any vectors , any complex Boolean-indexed matrices , any unitary matrix indexed by , any , and any real numbers for , where is the set of Boolean strings of length , this defines a vector by
The real prefactor is viewed as a complex scalar. The need not be positive, the vectors need not be normalized, and are unrestricted. For , all empty products are ; empty is also allowed.
QAlgorithms.Papers.Independent.Intake100.P90.pmBranch
For any natural number , any finite type , any family of vectors indexed by and Boolean , any family of complex Boolean-indexed matrices , any unitary matrix indexed by , where , any vector , and any , this defines the vector by
Neither the vectors and nor the matrices have normalization assumptions. The definition includes , with empty products equal to , and permits to be empty, in which case the result is the unique vector on the empty index set.
QAlgorithms.Papers.Independent.Intake100.P90.signalWord
For every natural number , every family of complex Euclidean vectors indexed by and Boolean , with each vector itself having Boolean coordinates, and every Boolean string , this defines the vector indexed by Boolean strings whose coordinate is
No normalization assumptions are imposed on the vectors . When , there is one empty Boolean string, and its coordinate is the empty product .
QAlgorithms.Papers.Independent.Intake100.P90.sortedBellWord
For every natural number , every quadruple with and , and every integer with , this definition returns
Thus zero counts produce empty intervals. When , the quadruple is and the resulting word has empty domain.
QAlgorithms.Papers.Independent.Intake100.P90.sourceBell
For each , this defines a complex Euclidean vector indexed by Boolean pairs. Writing for false, for true, and for the coordinate vector supported at , its value is
QAlgorithms.Papers.Independent.Intake100.P90.sourceBellDiagonal
For any real weights , this defines the complex matrix indexed by Boolean pairs with entries
Here and denote false and true, is the coordinate vector at , and is respectively . The weights are arbitrary real numbers; nonnegativity and a sum of one are not required.
QAlgorithms.Papers.Independent.Intake100.P90.sourceConditionalEve
For any finite type and any vector , this defines a complex matrix indexed by with entries
The real reciprocal is viewed as a complex scalar. No nonzero or unit-norm assumption is imposed on . The reciprocal of is defined to be , so is the zero matrix; empty is allowed.
QAlgorithms.Papers.Independent.Intake100.P90.sourceDecoder
For any assignment of a complex Euclidean vector with Boolean coordinates to each Boolean value, and any real number , this defines the complex matrix with Boolean row index and Boolean column index by
where is Boolean negation and the bar denotes complex conjugation. No normalization assumptions are imposed on , and may be any real number, including zero or a negative value.
QAlgorithms.Papers.Independent.Intake100.P90.sourcePauliChoice
For , this defines a complex matrix indexed by Boolean values. In the row and column order , the four choices are
QAlgorithms.Papers.Independent.Intake100.P90.sourceTensorProduct
For any type , any natural number , and any family of complex matrices with rows and columns indexed by , this defines a matrix whose rows and columns are indexed by functions , with entries
No finiteness assumption on is required. When , there is exactly one indexing function, even if is empty, and the resulting matrix has its sole entry equal to the empty product .
QAlgorithms.Papers.Independent.Intake100.P90.sourceZDisagreement
For any complex matrix whose rows and columns are indexed by Boolean pairs, this defines the real number
There are no positivity, Hermitian, or trace assumptions on .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.