Skip to main content

Module archive

Module archive 

Source
Expand description

Versioned dense and sparse operator serialization.

Structs§

BasisArchive
Portable, versioned manifest of ordered physical basis states.
OperatorArchive
OperatorArchiveEntry

Constants§

ARCHIVE_VERSION
BASIS_ARCHIVE_VERSION
Current portable basis-manifest archive version.

Functions§

load_basis_zip
Load and validate a portable basis manifest.
load_operator_npz
Load a pickle-free NPZ produced by Rust or NumPy savez/savez_compressed.
load_zip
Load a named operator archive while preserving every requested storage format.
save_basis_zip
Save a pickle-free basis manifest preserving logical width and row order.
save_operator_npz
Save a versioned, pickle-free NPZ archive readable as np.load(path)["matrix"].
save_zip
Save named dense/sparse components without executing serialization callbacks.