[package]
edition = "2021"
rust-version = "1.87"
name = "stabilizer_qec"
version = "2.1.0"
build = "build.rs"
include = [
"/src",
"/build.rs",
"/data/surgery/golden.json",
"/Cargo.toml",
"/Cargo.lock",
"/LICENSE",
"/LICENSES",
"/THIRD_PARTY_NOTICES.md",
"/README.md",
"/docs/crate.md",
"/pyproject.toml",
"/python/README.md",
"/python/stabilizer_qec",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Quantum error-correction simulation and decoding: Stim-format circuits and error models, a bit-parallel sampler, sparse-blossom, correlated and belief matching, BP+OSD, window decoders, bivariate bicycle codes, lattice surgery, Clifford+T circuits with coherent noise, and sampling and BP on the GPU."
homepage = "https://qcompiler.jaspersands.com"
documentation = "https://docs.rs/stabilizer_qec"
readme = "docs/crate.md"
keywords = [
"quantum",
"error-correction",
"surface-code",
"decoder",
"clifford",
]
categories = [
"science",
"simulation",
]
license = "MIT AND Apache-2.0"
repository = "https://github.com/Jaspersands/quantum-simulator-qec"
[features]
default = []
gpu = [
"dep:wgpu",
"dep:pollster",
]
highs = ["dep:cc"]
python = [
"dep:pyo3",
"dep:rand",
]
[lib]
name = "stabilizer_qec"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[dependencies.pollster]
version = "1"
optional = true
[dependencies.pyo3]
version = "0.29"
features = [
"extension-module",
"abi3-py39",
"multiple-pymethods",
]
optional = true
[dependencies.rand]
version = "0.8"
optional = true
[dependencies.wgpu]
version = "30"
features = [
"wgsl",
"metal",
"vulkan",
"dx12",
]
optional = true
default-features = false
[build-dependencies.cc]
version = "1.2"
features = ["parallel"]
optional = true
[profile.python]
inherits = "release"
strip = false
[profile.release]
opt-level = 3
lto = true
codegen-units = 1