Spinach vs Spynach: maz_noesy_2 (CPU)

run maz_noesy_2, both sides present. Built by comparison/report.py; protocol in comparison/README.md.

Provenance

spinach

run date (UTC)2026-10-14T17:53:22Z
Spinach version2.13
commit03a88b7e912ffbb3122dd24829cc5d216209c804
local modificationsFalse
MATLAB26.2.0.3386108 (R2026b)
hostMacBook-Pro-8.local
platformMACA64
cores12
BLASApple Accelerate BLAS (ILP64)
computational threads12
parallel pool workers11
GPU requestedFalse
GPU device
case options{"gpu": false}

Spynach

run date (UTC)2026-10-14T19:19:37Z
Spynach version074f4d2-dirty
commit074f4d2c9f99a79f8a1e8aa1217ce8e09055b5da
local modificationsTrue
Python3.12.5
NumPy2.5.4
SciPy1.18.1
hostMacBook-Pro-8.local
platformmacOS-26.6.2-arm64-arm-64bit
cores12
BLAS{"numpy": "accelerate", "scipy": "Accelerate"}
thread settingslibrary defaults
GPU requestedFalse
GPU device
case options{}
not run

Timings

stageSpinach / sSpynach / sSpynach / Spinach
create1.260.010.00x
basis3.730.040.01x
liquid/noesy840.811701.602.02x
processing0.010.010.90x
plot0.150.181.22x
total (wall clock)846.151701.902.01x

Data

variableSpinach shapeSpynach shaperelative errormax |difference|
fid_cos(256, 256)(256, 256)1.187e-101.473e-10
fid_sin(256, 256)(256, 256)1.105e-101.316e-10
spectrum(1024, 1024)(1024, 1024)1.114e-101.344e-07

relative error = ||Spynach - Spinach||F / ||Spinach||F, the metric of the oracle tests.

Figures

spinach: noesy

figure_noesy.png

Spynach: noesy

figure_noesy.png

interactive figure

Profiles

spinach

by self time

functioncallsself / stotal / s
propagator9719.49741.10
expmint156.47796.74
clean_up36121.8021.80
ParforEngine>ParforEngine.getCompleteIntervals30617.0617.45
evolution>(parfor body)488.619.60
CJSKeyValueStore>iWriteDataFile1242.782.78
CJSKeyValueStore>iReadDataFile312.642.64
redfield_integral_async12.2714.83
ParforEngine>ParforEngine.addInterval9661.811.96
cheap_norm8191.541.55
CJSKeyValueStore>CJSKeyValueStore.getSingleVariable311.544.25
cell2mat>concatenateCellContents251.511.51
hamiltonian41.495.51
CJSKeyValueStore>CJSKeyValueStore.putSingleVariable1241.083.94
existentials10.780.78
corrfun6610.360.41
step>reordered_taylor770.300.30
AbstractClusterPool.AbstractClusterPool>AbstractClusterPool.get.ValueStore320.270.30
report15440.240.28
relaxation20.21817.35
CJSKeyValueStore>@(key)obj.KeyFileStore.remove(key)310.160.16
step>(parfor body)9360.140.17
parallel_function>distributed_execution430.1420.15
ParforEngine>ParforEngine.buildParforController430.120.16
step850.1010.19

by total time (with callees)

functioncallsself / stotal / s
run10.00846.16
run_comparison10.06846.16
maz_noesy_2_spinach10.03846.10
liquid10.00840.81
relaxation20.21817.35
rlx_scalar10.05796.80
expmint156.47796.74
propagator9719.49741.10
parallel_function510.0230.02
noesy10.0122.98
clean_up36121.8021.80
parallel_function>distributed_execution430.1420.15
ParforEngine>ParforEngine.getCompleteIntervals30617.0617.45
redfield_integral_async12.2714.83
evolution120.0712.86
step850.1010.19
evolution>(parfor body)488.619.60
hamiltonian41.495.51
ValueStore>ValueStore.get310.014.27
CJSKeyValueStore>CJSKeyValueStore.getVariable310.014.26
CJSKeyValueStore>@(key)obj.getSingleVariable(key)310.004.25
CJSKeyValueStore>CJSKeyValueStore.getSingleVariable311.544.25
ValueStore>ValueStore.put310.054.03
CJSKeyValueStore>CJSKeyValueStore.putVariable310.013.95
CJSKeyValueStore>CJSKeyValueStore.putSingleVariable1241.083.94

Spynach

by self time

functioncallsself / stotal / s
<built-in method scipy.sparse._sparsetools.csr_matmat>11861119.101119.10
<built-in method scipy.sparse._sparsetools.csr_matmat_maxnnz>1186428.41428.41
<built-in method scipy.sparse._sparsetools.csr_matvecs>191653.2253.22
matlab_round (utilities.py:20)360844.6744.67
<built-in method scipy.sparse._sparsetools.csr_sort_indices>66515.1015.10
_reordered_taylor (propagation.py:122)8513.4424.81
<method 'copy' of 'numpy.ndarray' objects>77177.967.96
<built-in method scipy.sparse._sparsetools.csr_eliminate_zeros>10365.525.52
clean_up (utilities.py:27)11684.9680.55
<built-in method numpy._core._multiarray_umath.count_nonzero>36392.922.92
<built-in method scipy.sparse._sparsetools.get_csr_submatrix>641.011.01
<built-in method scipy.sparse._sparsetools.csr_plus_csr>6320.730.73
<built-in method numpy.zeros>201510.620.62
<built-in method scipy.sparse._sparsetools.csr_tocsc>1460.600.60
<built-in method scipy.sparse._sparsetools.csr_matvec>29700.570.57
<built-in method scipy.sparse._sparsetools.csr_sum_duplicates>6660.470.47
<built-in method scipy.sparse._sparsetools.coo_tocsr>1310.260.26
_superop_side_build (operators.py:280)5530.210.49
step (propagation.py:74)850.1425.00
assemble (hamiltonian.py:174)380.121.56
<method 'reduce' of 'numpy.ufunc' objects>442860.110.11
evolution (propagation.py:208)120.1148.73
<method 'searchsorted' of 'numpy.ndarray' objects>121600.090.09
<method 'nonzero' of 'numpy.ndarray' objects>140200.080.08
_mul_scalar (_data.py:140)8090.070.13

by total time (with callees)

functioncallsself / stotal / s
run (maz_noesy_2_spynach.py:13)10.001701.90
simulate (maz_noesy_2.py:132)10.001701.67
liquid (contexts.py:32)10.001701.60
_dissipators (contexts.py:284)10.001628.01
relaxation (relaxation.py:51)20.011628.01
expmint (relaxation.py:197)320.001622.50
_srfk (relaxation.py:294)10.001618.16
__matmul__ (_base.py:1006)64240.001602.30
_matmul_dispatch (_base.py:875)65410.011602.28
_matmul_sparse (_compressed.py:415)11860.011547.79
propagator (propagation.py:25)480.051529.11
<built-in method scipy.sparse._sparsetools.csr_matmat>11861119.101119.10
<built-in method scipy.sparse._sparsetools.csr_matmat_maxnnz>1186428.41428.41
clean_up (utilities.py:27)11684.9680.55
noesy (sequences.py:80)10.0073.53
_matmul_multivector (_compressed.py:399)19280.0153.85
<built-in method scipy.sparse._sparsetools.csr_matvecs>191653.2253.22
evolution (propagation.py:208)120.1148.73
matlab_round (utilities.py:20)360844.6744.67
step (propagation.py:74)850.1425.00
_reordered_taylor (propagation.py:122)8513.4424.81
count_nonzero (_compressed.py:138)34510.0017.52
nnz (utilities.py:15)21960.0017.18
sum_duplicates (_compressed.py:1072)37170.0015.63
sort_indices (_compressed.py:1124)6660.0015.10

Console logs