Release Notes#
cuStabilizer v0.4.0#
New functionalities:
Added the cuStabilizer-JAX extension (
cuquantum.), exposing selected cuStabilizer kernels as JAX FFI primitives. The initial release providesstabilizer. jax matmul_gf2_spdn(), a JAX interface tocustabilizerGF2SparseDenseMatrixMultiply()that allows the GF(2) sparse-dense matrix multiply to participate injax.jit/jax.vmapgraphs.
Compatibility notes:
Starting with the next release, Fedora 42 and KylinOS V10 will no longer be supported. The minimum supported versions will be Fedora 44 and KylinOS V11.
cuStabilizer v0.3.0#
Added GPU-accelerated Detector Error Model (DEM) sampling for generating detection events from quantum error correction circuits without full circuit simulation.
New C API functions for Bernoulli sampling and GF(2) matrix multiplication:
custabilizerSampleProbArray()– dense bit-packed Bernoulli sampling.custabilizerSampleProbArraySparsePrepare()/custabilizerSampleProbArraySparseCompute()– sparse Bernoulli sampling into CSR format with a prepare/compute workflow.custabilizerGF2SparseDenseMatrixMultiply()– GF(2) sparse × dense matrix multiplication.custabilizerGF2SparseSparseMatrixMultiply()– GF(2) sparse × sparse matrix multiplication.
New status code
CUSTABILIZER_STATUS_INSUFFICIENT_SPARSE_STORAGEreturned when sparse output capacity is exceeded.FrameSimulatornow randomizes the initial Z frame with Bernoulli(0.5) samples whenrandomize_measurements=Trueand no input tables are provided.
Known Issues#
cupyis now required to importcuquantum.. In v0.2.0, the module could be used with numpy-only workflows. This will be addressed in a future release.stabilizer DEM sampling classes (
DEMSampler,BitMatrixSparseSampler) accept onlynumpyandcupyarrays.torch.Tensoris not supported.
cuStabilizer v0.2.0#
Added shot masking instructions
MASK_SET/MASK_XOR(aliases:SHOT_MASK_SET/SHOT_MASK_XOR) to enable or disable ranges of shots for subsequent circuit instructions. See Shot mask instructions for usage examples.
cuStabilizer v0.1.0#
The initial release of cuStabilizer. Supported features: Circuit conversion and Pauli frame simulation.