Definitions for Improved quantum capacity bounds of Gaussian loss channels and achievable rates with Gottesman-Kitaev-Preskill codes
DefinitionQAlgorithms_Papers_Independent_Bridge50_P16The objects the formalized statements of Improved quantum capacity bounds of Gaussian loss channels and achievable rates with Gottesman-Kitaev-Preskill codes (arXiv:1801.07271) are stated in. Each was checked against the paper by a blind read-back and a moderator.
coefficientChannel: PDF pp.2,14--16: coordinate adapter for the accepted physical Fock map. Nuclear input coefficients have a unique bounded realization; no cutoff is used.blockPhotonEnergy: PDF pp.5,13: extended total photon expectation of an n-mode coefficient array. For a density each summand is nonnegative; infinity is retained.EnergyAchievable: PDF pp.5--7,13: mean-code-state energy constraint for entanglement transmission. Enc(I/2^m) is the actual unconditional encoded state. The same single code works at every logical matrix unit through squared entanglement fidelity.energyCapacity: PDF p.5 Eq.(22): operational supremum, including zero and infinity.PhaseIndex: PDF pp.14--16: interleaved coordinates (q_i,p_i), represented by (i,0),(i,1).tensorWeylCharacteristic: PDF pp.14--16: Tr(rho D((xi_q+i xi_p)/sqrt(2))) on each mode, with actual tensor-product Weyl coefficients. Trace-class pairing includes all inputs.GaussianSpecification: PDF p.2 Eq.(2), Appendix A: physical multimode Gaussian specification. The full characteristic law, CPTP, symmetric noise, and CP matrix condition identify the channel beyond its action on two moments.dephasedOperator: PDF p.5, Eqs.(18)--(22): transport the accepted complete Fock dephasing.pureLossIc: PDF pp.4--5: true pure-loss complement is loss with transmissivity 1-eta. The finite-energy statements below establish that both entropy values are finite.oneShotPureLoss: PDF p.5 Eq.(22): one-shot coherent information on the finite-energy domain.optimizedObjective: PDF p.7 Eq.(41), Appendix C: fixed physical gain substitutions.noiseContraction: PDF p.12 Eq.(64): E Choi wires are logical first, physical second; f_N reverses both indices so the trace contraction has exactly Eq.(63).jointObjective: PDF p.12 Eq.(65): unnormalized real SDP objective. Fidelity divides by d^2.encodingEnergy: PDF pp.12--13 Eq.(67): trace((I_d tensor H) XE), in input-first wires.feasibleEncoding: PDF p.13 Eq.(67): mean energy only for E(I_d/d).truncatedKraus: PDF p.13: exact pure-loss Kraus coefficient on the first n Fock levels. The test m=j+ell prevents truncated natural subtraction outside its domain.truncatedLoss: PDF p.13: actual finite Kraus channel; this is not a noisy truncation rule.embedTruncation: PDF p.13: inclusion of the invariant finite sector into full Fock operators.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_QuditChannelFidelities
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P39
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P30
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P18
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier30_P14
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier30_P08
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P34
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P51
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P32
/-!
Noh--Albert--Jiang, arXiv:1801.07271v2. Full Fock channels in Sections II--IV;
finite matrices only in Section V. Every new object belongs to this paper.
Ideal-code and numerical claims deferred in HARD.md have no substitute theorems.
Compilation and independent moderation are pending the separate batch stages.
-/
noncomputable section
open Filter MeasureTheory
open scoped BigOperators ENNReal NNReal Matrix ComplexOrder
namespace QAlgorithms.Papers.Independent.Bridge50.P16
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
namespace B
export QAlgorithms.Papers.Independent.Dependency50.P39
(Fock FockOperator fockKet fockDyad IsTraceClass IsDensity HasFockMatrix
operatorOfMatrix characteristic displacementMatrix DisplacementRealized
AmplifierRealized ThermalRealized)
end B
namespace C
export QAlgorithms.Papers.Independent.Claimed50.P39
(thermal amplifier displacementNoiseChannel photonMeanThermalState
IsNormalFockChannel FiniteEnergy fockEntropyNats)
end C
namespace T
export QAlgorithms.Papers.Independent.Dependency50.P33
(IsTraceClassChannel IsTraceClass IsDensity State)
export QAlgorithms.Papers.Independent.Frontier30.P14
(Operation traceClassTensorPower codeFidelity traceClassAchievableRate
operationalTraceClassCapacity)
end T
open QAlgorithms.Papers.Independent.Frontier30.P08 (interleavedSymplecticForm)
open QAlgorithms.Papers.Independent.Dependency50.P30 (thermalEntropyBits)
open QAlgorithms.Papers.Independent.Frontier18.P18 (operatorCoeff boundedOperator)
open QAlgorithms.Papers.Independent.Information100.P34 (choi)
open QAlgorithms.Papers.Independent.Dependency50.P32 (CPTP applyChoi)
/-- PDF pp.2,14--16: coordinate adapter for the accepted physical Fock map.
Nuclear input coefficients have a unique bounded realization; no cutoff is used. -/
def coefficientChannel (E : B.FockOperator → B.FockOperator) : T.Operation ℕ ℕ :=
fun X => operatorCoeff (E (boundedOperator X))
/-- PDF pp.5,13: extended total photon expectation of an n-mode coefficient array.
For a density each summand is nonnegative; infinity is retained. -/
def blockPhotonEnergy {n : ℕ} (X : Matrix (Fin n → ℕ) (Fin n → ℕ) ℂ) : ℝ≥0∞ :=
∑' a : Fin n → ℕ, ENNReal.ofReal (∑ i, (a i : ℝ)) * ENNReal.ofReal (X a a).re
/-- PDF pp.5--7,13: mean-code-state energy constraint for entanglement transmission.
Enc(I/2^m) is the actual unconditional encoded state. The same single code works
at every logical matrix unit through squared entanglement fidelity. -/
def EnergyAchievable (E : T.Operation ℕ ℕ) (budget : ℝ) (R : ℝ≥0) : Prop :=
∀ epsilon : ℝ, 0 < epsilon → ∀ delta : ℝ, 0 < delta →
∃ N : ℕ, 0 < N ∧ ∀ n ≥ N, ∃ m : ℕ,
∃ Enc : T.Operation (Fin (2 ^ m)) (Fin n → ℕ),
∃ Dec : T.Operation (Fin n → ℕ) (Fin (2 ^ m)),
T.IsTraceClassChannel Enc ∧ T.IsTraceClassChannel Dec ∧
blockPhotonEnergy (Enc (((((2 : ℝ) ^ m)⁻¹ : ℝ) : ℂ) •
(1 : Matrix (Fin (2 ^ m)) (Fin (2 ^ m)) ℂ))) ≤ ENNReal.ofReal (n * budget) ∧
((R : ℝ) - delta) * (n : ℝ) ≤ (m : ℝ) ∧
1 - epsilon ≤ T.codeFidelity m (Dec ∘ T.traceClassTensorPower E n ∘ Enc)
/-- PDF p.5 Eq.(22): operational supremum, including zero and infinity. -/
def energyCapacity (E : T.Operation ℕ ℕ) (budget : ℝ) : ℝ≥0∞ :=
⨆ R : {R : ℝ≥0 // EnergyAchievable E budget R}, (R.val : ℝ≥0∞)
/-- PDF pp.14--16: interleaved coordinates (q_i,p_i), represented by (i,0),(i,1). -/
abbrev PhaseIndex (n : ℕ) := Fin n × Fin 2
/-- PDF pp.14--16: Tr(rho D((xi_q+i xi_p)/sqrt(2))) on each mode, with
actual tensor-product Weyl coefficients. Trace-class pairing includes all inputs. -/
def tensorWeylCharacteristic {n : ℕ}
(X : Matrix (Fin n → ℕ) (Fin n → ℕ) ℂ) (xi : PhaseIndex n → ℝ) : ℂ :=
∑' a : Fin n → ℕ, ∑' b : Fin n → ℕ, X a b *
∏ i : Fin n, B.displacementMatrix
(((xi (i, 0) : ℂ) + Complex.I * (xi (i, 1) : ℂ)) / (Real.sqrt 2 : ℂ)) (b i) (a i)
/-- PDF p.2 Eq.(2), Appendix A: physical multimode Gaussian specification.
The full characteristic law, CPTP, symmetric noise, and CP matrix condition
identify the channel beyond its action on two moments. -/
def GaussianSpecification {n : ℕ}
(E : T.Operation (Fin n → ℕ) (Fin n → ℕ))
(M V : Matrix (PhaseIndex n) (PhaseIndex n) ℝ) (d : PhaseIndex n → ℝ) : Prop :=
T.IsTraceClassChannel E ∧ V.transpose = V ∧
Matrix.PosSemidef ((fun a b => (V a b : ℂ) + Complex.I / 2 *
((interleavedSymplecticForm n - M * interleavedSymplecticForm n * M.transpose) a b : ℝ)) :
Matrix (PhaseIndex n) (PhaseIndex n) ℂ) ∧
∀ X, T.IsTraceClass X → ∀ xi,
tensorWeylCharacteristic (E X) xi =
tensorWeylCharacteristic X ((interleavedSymplecticForm n * M.transpose * (interleavedSymplecticForm n).transpose).mulVec xi) *
Complex.exp
(((-(∑ a, xi a * ((interleavedSymplecticForm n * V * (interleavedSymplecticForm n).transpose).mulVec xi) a) / 2 : ℝ) : ℂ) +
Complex.I * ((∑ a, d a * ((interleavedSymplecticForm n).mulVec xi) a : ℝ) : ℂ))
/-- PDF p.5, Eqs.(18)--(22): transport the accepted complete Fock dephasing. -/
def dephasedOperator (X : B.FockOperator) : B.FockOperator :=
B.operatorOfMatrix (QAlgorithms.Papers.Independent.Information100.P51.fockDephasing (operatorCoeff X))
/-- PDF pp.4--5: true pure-loss complement is loss with transmissivity 1-eta.
The finite-energy statements below establish that both entropy values are finite. -/
def pureLossIc (eta : ℝ) (X : B.FockOperator) : ℝ :=
(C.fockEntropyNats (C.thermal eta 0 X) / ENNReal.ofReal (Real.log 2)).toReal -
(C.fockEntropyNats (C.thermal (1 - eta) 0 X) / ENNReal.ofReal (Real.log 2)).toReal
/-- PDF p.5 Eq.(22): one-shot coherent information on the finite-energy domain. -/
def oneShotPureLoss (eta budget : ℝ) : ℝ≥0∞ :=
⨆ X : {X : B.FockOperator // B.IsDensity X ∧ C.FiniteEnergy X ∧
(∑' j : ℕ, (j : ℝ) * (X (B.fockKet j) j).re) ≤ budget},
ENNReal.ofReal (pureLossIc eta X.val)
/-- PDF p.7 Eq.(41), Appendix C: fixed physical gain substitutions. -/
def optimizedObjective (eta b budget gain : ℝ) : ℝ :=
let etaBar := 1 - (1 - eta) * (b + 1) / gain
let gain2 := eta / (gain - (1 - eta) * (b + 1))
let energy2 := gain2 * budget + (gain2 - 1)
max (thermalEntropyBits (etaBar * energy2) -
thermalEntropyBits ((1 - etaBar) * energy2)) 0
/-- PDF p.12 Eq.(64): E Choi wires are logical first, physical second;
f_N reverses both indices so the trace contraction has exactly Eq.(63). -/
def noiseContraction {d n : ℕ} (N : Superop (Fin n) (Fin n))
(XE : Matrix (Fin d × Fin n) (Fin d × Fin n) ℂ) :
Matrix (Fin n × Fin d) (Fin n × Fin d) ℂ :=
fun a b => ∑ k : Fin n, ∑ kp : Fin n,
choi N (k, b.1) (kp, a.1) * XE (b.2, k) (a.2, kp)
/-- PDF p.12 Eq.(65): unnormalized real SDP objective. Fidelity divides by d^2. -/
def jointObjective {d n : ℕ} (N : Superop (Fin n) (Fin n))
(XE : Matrix (Fin d × Fin n) (Fin d × Fin n) ℂ)
(XD : Matrix (Fin n × Fin d) (Fin n × Fin d) ℂ) : ℝ :=
(XD * noiseContraction N XE).trace.re
/-- PDF pp.12--13 Eq.(67): trace((I_d tensor H) XE), in input-first wires. -/
def encodingEnergy {d n : ℕ} (H : Matrix (Fin n) (Fin n) ℂ)
(XE : Matrix (Fin d × Fin n) (Fin d × Fin n) ℂ) : ℝ :=
((Matrix.kronecker (1 : Matrix (Fin d) (Fin d) ℂ) H) * XE).trace.re
/-- PDF p.13 Eq.(67): mean energy only for E(I_d/d). -/
def feasibleEncoding (d n : ℕ) (H : Matrix (Fin n) (Fin n) ℂ) (budget : ℝ) :
Set (Matrix (Fin d × Fin n) (Fin d × Fin n) ℂ) :=
{XE | CPTP XE ∧ encodingEnergy H XE ≤ budget * d}
/-- PDF p.13: exact pure-loss Kraus coefficient on the first n Fock levels.
The test m=j+ell prevents truncated natural subtraction outside its domain. -/
def truncatedKraus (n : ℕ) (eta : ℝ) (ell : Fin n) : Matrix (Fin n) (Fin n) ℂ :=
fun j m => if m.val = j.val + ell.val then
(Real.sqrt (Nat.choose m.val ell.val : ℝ) *
Real.sqrt (1 - eta) ^ ell.val * Real.sqrt eta ^ j.val : ℝ) else 0
/-- PDF p.13: actual finite Kraus channel; this is not a noisy truncation rule. -/
def truncatedLoss (n : ℕ) (eta : ℝ) : Superop (Fin n) (Fin n) :=
krausApply (truncatedKraus n eta)
/-- PDF p.13: inclusion of the invariant finite sector into full Fock operators. -/
def embedTruncation {n : ℕ} (X : Matrix (Fin n) (Fin n) ℂ) : B.FockOperator :=
∑ i : Fin n, ∑ j : Fin n, X i j • B.fockDyad i.val j.val
example : interleavedSymplecticForm 1 (0, 0) (0, 1) = 1 := by simp [interleavedSymplecticForm]
example : interleavedSymplecticForm 1 (0, 1) (0, 0) = -1 := by simp [interleavedSymplecticForm]
example {n : ℕ} : blockPhotonEnergy (0 : Matrix (Fin n → ℕ) (Fin n → ℕ) ℂ) = 0 := by
simp [blockPhotonEnergy]
example {n : ℕ} (N : Superop (Fin n) (Fin n)) :
noiseContraction (d := 1) N 0 = 0 := by
ext a b
simp [noiseContraction]
example {n : ℕ} : embedTruncation (0 : Matrix (Fin n) (Fin n) ℂ) = 0 := by
simp [embedTruncation]
example (eta : ℝ) : truncatedKraus 1 eta 0 0 0 = 1 := by
simp [truncatedKraus]
example (X : B.FockOperator) : C.displacementNoiseChannel 0 X = X := by
simp [C.displacementNoiseChannel]
end QAlgorithms.Papers.Independent.Bridge50.P16
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Bridge50.P16.EnergyAchievable
Let be any function from complex matrices indexed by to such matrices, let be a budget, and let be a real rate. For the following statement, a matrix indexed by a set is called trace class precisely when there are sequences such that converges and for every ; a density matrix means such a matrix for which every finite quadratic form is real and nonnegative, the real diagonal entries form a summable family, and their sum is . A map between these matrix spaces satisfies the channel condition used here precisely when it preserves trace class, is additive on trace-class matrices and complex homogeneous on them, and, for every natural number , its extension
takes every density matrix indexed by to a density matrix on the corresponding output index set. The predicate being defined says that for every and every , there is a positive integer such that, for every , there exist a natural number , an encoding map from matrices on to matrices on , and a decoding map in the reverse direction, both satisfying this channel condition, such that, writing ,
Here in , is the matrix unit, and is defined recursively by on the singleton index set and
The energy bound concerns the encoded maximally mixed matrix . The number is allowed, itself is not assumed to satisfy the channel condition, and a negative budget makes the right-hand energy bound zero.
QAlgorithms.Papers.Independent.Bridge50.P16.GaussianSpecification
For every natural number , let , let be a function from complex matrices indexed by to such matrices, let be real matrices indexed by , and let be a real vector on that same index set. Define the real matrix by , , and all other entries zero. The predicate being defined is the conjunction of the following requirements:
and, for every trace-class matrix on and every real vector on the coordinate index set,
together with a channel condition on . Here trace class means that for sequences with ; the channel condition says that preserves such matrices, is additive and complex homogeneous on them, and, after applying separately to every slice with fixed auxiliary indices, takes every density matrix on to a density matrix for every . A density matrix here means a trace-class matrix with real nonnegative finite quadratic forms and summable real diagonal entries summing to . The function in the displayed identity is
These nested complex sums use the total infinite-sum operation, assigning zero to a nonsummable summand family. The transformation identity ranges over all trace-class , not only density matrices. The case is included, with empty coordinate matrices and vectors, singleton tuple indices, and empty products equal to .
QAlgorithms.Papers.Independent.Bridge50.P16.PhaseIndex
For every natural number , this abbreviation denotes the set
Thus an index consists of a mode label and one of two coordinate labels; the set has elements and is empty when .
QAlgorithms.Papers.Independent.Bridge50.P16.blockPhotonEnergy
For every natural number , including , and every complex matrix whose rows and columns are indexed by tuples , this definition assigns the extended nonnegative real number
where , regarded as an element of , and the sum is the extended nonnegative sum, which may be infinite. No positivity, normalization, or summability assumption is imposed on ; negative real diagonal entries contribute zero. For , the tuple index set has one element and its coordinate sum is zero, so the defined value is zero.
QAlgorithms.Papers.Independent.Bridge50.P16.coefficientChannel
Let , let be the sequence equal to at and elsewhere, and let be any function from bounded complex-linear operators on to bounded complex-linear operators on . This definition produces a function on all complex matrices indexed by : for a matrix , choose a bounded operator satisfying for every , if such an operator exists, and set otherwise; the resulting matrix is
Neither nor is assumed to satisfy any channel, positivity, normalization, or trace-class condition. In particular, when has no bounded operator realization, the result is the matrix of .
QAlgorithms.Papers.Independent.Bridge50.P16.dephasedOperator
Let , let be its standard coordinate vector, and let be any bounded complex-linear operator on . This definition forms the coefficient matrix
and returns a chosen bounded operator satisfying for every , if such an operator exists; otherwise it returns the zero operator. No density, positivity, or trace-class hypothesis is imposed on .
QAlgorithms.Papers.Independent.Bridge50.P16.embedTruncation
For every natural number and complex matrix , this defines the bounded complex-linear operator on
where is the sequence equal to at and elsewhere, and sends a sequence to . Thus the operator sends to the sequence whose -th coordinate is for , and whose other coordinates are zero. No positivity, Hermiticity, or normalization is required of ; for , the operator is zero.
QAlgorithms.Papers.Independent.Bridge50.P16.encodingEnergy
For arbitrary natural numbers , any complex matrix , and any complex matrix indexed by , this defines
Neither nor is required to be Hermitian, positive, or normalized. The definition includes and , when its value is .
QAlgorithms.Papers.Independent.Bridge50.P16.energyCapacity
For any function from complex matrices indexed by to such matrices and any real budget , this definition takes the supremum in of all nonnegative real numbers with the following property: for every , there is a positive integer such that for every there exist and encoding and decoding maps , between matrices on labels and matrices on , for which
Here in , denotes a matrix unit, and applies recursively to the first coordinate and the previously defined tensor power to the remaining coordinates, starting with the identity at ; explicitly,
Both coding maps must preserve trace class, be additive and complex homogeneous on trace-class matrices, and preserve density matrices after extension by the identity on every finite auxiliary index set. In this condition, trace class means the existence of a coefficient expansion with and ; density means trace class, real nonnegative finite quadratic forms, and a summable real diagonal with sum . Extension by the identity applies the map separately to each matrix slice obtained by fixing the two auxiliary indices. The supremum may be infinite and is zero if there are no qualifying rates; is permitted, negative budgets are truncated to zero in the energy bound, and no channel assumption is imposed on .
QAlgorithms.Papers.Independent.Bridge50.P16.feasibleEncoding
For any natural numbers , complex matrix , and real number , this defines the set of complex matrices indexed by satisfying all three conditions
Here is when and otherwise. There is no assumption that is Hermitian or that . If , the unique matrix with the empty index set belongs to the set for every ; if and , the set is empty because the required diagonal partial-trace entries would be .
QAlgorithms.Papers.Independent.Bridge50.P16.jointObjective
For arbitrary natural numbers , an arbitrary function from complex matrices to complex matrices, a complex matrix indexed by , and a complex matrix indexed by , this defines the real number , where
and is the matrix with its sole nonzero entry equal to at row , column . No linearity, positivity, normalization, or channel condition is imposed on . Either dimension may be zero; in that case the trace is an empty sum and the defined value is .
QAlgorithms.Papers.Independent.Bridge50.P16.noiseContraction
For every pair of natural numbers , every function from complex matrices to complex matrices, and every complex matrix indexed by , this definition produces a matrix indexed by with entries
where is the matrix with sole nonzero entry at . Thus the coefficients called the Choi matrix in the code are expanded as . No linearity, channel, positivity, or normalization condition is imposed on or , and there is no complex conjugation in this formula. If or , the output index set is empty.
QAlgorithms.Papers.Independent.Bridge50.P16.oneShotPureLoss
For arbitrary real numbers and , this definition takes a supremum in over bounded operators on satisfying all of the following: admits an operator-norm convergent expansion with ; ; for every ; the complex diagonal sequence is summable with sum ; and the real sequence is summable with sum at most . The value assigned to each such is
Here is the standard coordinate vector, is viewed in , , and
The operator , for a real , is a chosen bounded realization of the matrix
or zero if no bounded realization exists. Complex infinite sums are total, with value zero for nonsummable families, and real square roots of negative numbers and are zero. No interval restriction is imposed on ; if the set of qualifying is empty, the supremum is zero, and otherwise it may be infinite.
QAlgorithms.Papers.Independent.Bridge50.P16.optimizedObjective
For every four real numbers , with no sign, range, or nonzero-denominator assumptions, define
and . The definition assigns
All divisions are total real divisions, so division by zero gives zero. The real logarithm used here is also total: , and for a negative argument it equals the base-two logarithm of its absolute value. Despite its name, this definition performs no optimization over or any other variable.
QAlgorithms.Papers.Independent.Bridge50.P16.pureLossIc
Let , let be its standard coordinate vectors, let , and let be any bounded complex-linear operator on . To specify the definition, for every real and put
Let be a chosen bounded operator with coefficient matrix if one exists, and zero otherwise; this is the zero-environment-parameter thermal map appearing in the code. For a bounded operator , define
where maps to , the norm is the operator norm, and takes values in . The defined real number is
Here division occurs in the extended nonnegative reals and . In particular, . No restriction on , normalization of , or finiteness of either entropy sum is assumed; real square roots of negative numbers and are zero, and any nonsummable complex series in has the total infinite-sum value zero.
QAlgorithms.Papers.Independent.Bridge50.P16.tensorWeylCharacteristic
For every natural number , every complex matrix indexed by , and every real array with and , this definition assigns
where the scalar coefficients used in the product are defined, for and , by
No trace-class, positivity, or convergence hypothesis is imposed on ; each complex infinite sum is the total infinite-sum operation, with value zero if its summand family is not summable. When , both tuple index sets are singletons and the product is empty, so the result is the sole entry of .
QAlgorithms.Papers.Independent.Bridge50.P16.truncatedKraus
For any natural number , real number , and integer with , this defines the complex matrix whose entries, for , are
The displayed nonzero expression is real and is embedded into . No restriction on is assumed: the real square root used here equals on negative arguments, and zeroth powers, including , equal . For , there is no permissible value of .
QAlgorithms.Papers.Independent.Bridge50.P16.truncatedLoss
For every natural number and real number , this defines a function on all complex matrices by
where denotes conjugate transpose and each displayed real coefficient is regarded as complex. The definition imposes no condition on or on ; real square roots of negative numbers are , and all zeroth powers are . When , the sum is empty and the output is the zero matrix on the empty index set.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.