Release Notes#
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.