The SuperBEST Cost of Quantum Mechanics

Tier: OBSERVATION (computed, reproduce command below)

Quantum mechanics uses matrix exponentials and matrix logarithms everywhere. This post measures the cost of standard quantum formulas in matrix EML nodes — the matrix generalization of EML where exp → expm (matrix exponential) and ln → logm (matrix logarithm).


Matrix EML Operators

The matrix EML family extends scalar EML to square matrices:

OperatorFormulaScalar analog
meml(A,B)expm(A) − logm(B)eml
mexl(A,B)expm(A) · logm(B)exl
mdeml(A,B)expm(−A) − logm(B)deml
meal(A,B)expm(A) + logm(B)eal

Key constraint: non-commutativity. expm(A)·expm(B) ≠ expm(A+B) unless AB = BA. This blocks scalar SuperBEST routing from directly transferring to the matrix case.


Q1: Core Quantum Formula Costs

FormulaMeaningMatrix EML nodes
U(t) = exp(−iHt)Time evolution1 node (meml with 0 offset)
Z = Tr(exp(−βH))Partition function1 node + Tr
ρ(β) = exp(−βH)/ZThermal state2 nodes
S = −Tr(ρ·ln ρ)von Neumann entropy2 mexl nodes + Tr
F = −ln(Z)/βFree energy1 node + scalar ln

Headline: Time evolution U(t) = exp(−iHt) is a single matrix EML node. This is the quantum analog of T03 (Euler Gateway).


Q2: Non-Commutativity Barrier

Scalar SuperBEST routing for mul(x,y): exp(ln(x) + ln(y)) = x·y. Matrix analog: expm(logm(A) + logm(B)) ≠ AB in general.

This is a hard barrier — matrix multiplication cannot be routed through SuperBEST for non-commuting matrices.

OperationScalar routingMatrix costWhy?
AB3n via EXLFull mmulAB ≠ BA
exp(A)·exp(B)N/A2 nodes + mmulBaker-Campbell-Hausdorff
Tr(AB)3n + TrTr + mmulNeed full product

The scalar SuperBEST savings (77% for multiplication) do not transfer to non-commuting matrices.

For commuting matrices (e.g., diagonal, A = f(H) for same H), SuperBEST routing applies unchanged.


Q3: Precision Verification

Computed at d=2, 3, 4:

dZ (partition fn)S (entropy)logm error
22.88730.3601882.3×10⁻¹⁵
34.67900.6524742.1×10⁻¹⁵
46.43760.6657853.9×10⁻¹⁵

Matrix logarithm achieves machine precision (∼10⁻¹⁵). Von Neumann entropy computed exactly via mexl.


Q4: Quantum Information Geometry

FormulaOperationsMatrix EML nodes
Bures distance4 msqrt + 4 mmul + Tr12 ops
Quantum rel. entropy2 mexl + msub + mmul + Tr9 ops
QFI (SLD)Sylvester eq + 3 mmul + Tr15 ops
Matrix sqrt A^{1/2}1 mexl + 1 meml2 matrix EML ops
Fisher-Rao (classical)div+pow+mul+add+integral~7 scalar nodes

Matrix sqrt in 2 matrix EML ops: A^{1/2} = expm(logm(A)/2) = mexl(logm(A)/2, I) decomposed as 2 matrix operations.


Reproduce

python python/scripts/research_cal_quantum.py

Results in python/results/cal_quantum_results.json under keys Q1, Q2, Q3, Q4.


Cite: Monogate Research (2026). “The SuperBEST Cost of Quantum Mechanics.” monogate research blog. https://monogate.org/blog/quantum-costs

React