ticit Python bindings
The ticit package exposes ticit's exact batch sampler through
Circuit.compile then Program.sample. See
docs/python_api_reference.md.
import ticit
compiled_sampler = ticit.Circuit("M 0").compile()
result = compiled_sampler.sample(shots=1_000, seed=42, bit_packed=True)
maturin develop -m ticit_py/Cargo.toml
cargo run -p ticit_py --bin stub_gen
Build with --features gpu to enable backend="gpu".
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ticit-0.1.1.tar.gz
(3.7 MB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ticit-0.1.1-cp310-abi3-win_amd64.whl
(663.9 kB
view details)
File details
Details for the file ticit-0.1.1.tar.gz.
File metadata
- Download URL: ticit-0.1.1.tar.gz
- Upload date:
- Size: 3.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cb921b558f1c62adbefcfad5b0724fcb0aac15211150c1f5d9c1b83e35c977d
|
|
| MD5 |
f2e68c5859fcb8f54e180503abca3e11
|
|
| BLAKE2b-256 |
76d98ba406d92a5f39d51a2bda09d01213f9ecd6aa7f0e1097299955394573a8
|
File details
Details for the file ticit-0.1.1-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: ticit-0.1.1-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 663.9 kB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91531a8db9300abd305e29bdf379f7300c306c193bdaa312eb18c7934e5ec590
|
|
| MD5 |
6972721574123aae787929be16f7997c
|
|
| BLAKE2b-256 |
216a655ce316a709c969ea6794650948cf0ba3a4ad8d198fbbe76e4ccaa233f4
|
File details
Details for the file ticit-0.1.1-cp310-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: ticit-0.1.1-cp310-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 863.6 kB
- Tags: CPython 3.10+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df0273ca5cccafc89f0788bf2bd7ecc1b8bec75edcdf121e8e30dd52a70cd1fd
|
|
| MD5 |
6497997489390a54ab8fd8acf6993bd4
|
|
| BLAKE2b-256 |
3bd8a0425661352dba871e3cb6ccdd83d62f4d69a853dca652e237a7c9d4636c
|
File details
Details for the file ticit-0.1.1-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: ticit-0.1.1-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 735.1 kB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c367c20a510b48ed65e45af0201f82a78dbb6494b328538085f2ecd2a372ca87
|
|
| MD5 |
7f5e111057d2b326990ce07a76ef463f
|
|
| BLAKE2b-256 |
e21eb4a57be04fedc8776ee930af10fa3237dbac969c07425d0bd59be0e82077
|