Metadata-Version: 2.4
Name: ticit
Version: 0.1.1
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Scientific/Engineering :: Physics
Requires-Dist: numpy>=1.23
Summary: Exact sampler for noisy, adaptive Clifford-dominated quantum circuits
License-Expression: Apache-2.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Repository, https://github.com/inmzhang/ticit

# ticit Python bindings

The `ticit` package exposes ticit's exact batch sampler through
`Circuit.compile` then `Program.sample`. See
[`docs/python_api_reference.md`](../docs/python_api_reference.md).

```python
import ticit

compiled_sampler = ticit.Circuit("M 0").compile()
result = compiled_sampler.sample(shots=1_000, seed=42, bit_packed=True)
```

```sh
maturin develop -m ticit_py/Cargo.toml
cargo run -p ticit_py --bin stub_gen
```

Build with `--features gpu` to enable `backend="gpu"`.

