DEMSampler#
-
class cuquantum.
stabilizer. DEMSampler( - dem: Any,
- max_shots: int,
- options: Options | None = None,
- stream: int | Stream | None = None,
- *,
- package: Literal['numpy', 'cupy'] = 'cupy',
- seed: int | None = None,
High-level sampler that takes a
stim.DetectorErrorModeldirectly.Parses the DEM into a binary matrix and probability array, then delegates to
BitMatrixSparseSampler.Methods