[package]
edition = "2018"
rust-version = "1.51.0"
name = "qdk_sim_rs"
version = "0.28.291394"
authors = ["Microsoft"]
exclude = [
"*.template",
"*.csx",
"*.ps1",
"NuGet.Config",
"drop",
"Cargo.toml.orig",
"include",
"cbindgen.toml",
"*.egg-info",
"qdk_sim_experimental",
"setup.py",
"*.whl",
"pyproject.toml",
]
description = "Rust-based simulators for use with the Quantum Development Kit."
homepage = "https://github.com/microsoft/qsharp-runtime"
readme = "README.md"
license = "MIT"
repository = "https://github.com/microsoft/qsharp-runtime"
[package.metadata.docs.rs]
rustdoc-args = [
"--html-in-header",
"docs-includes/header.html",
"--html-after-content",
"docs-includes/after.html",
]
features = ["document-features"]
[lib]
name = "qdk_sim"
crate-type = [
"rlib",
"staticlib",
"cdylib",
]
path = "src/lib.rs"
[[bench]]
name = "c_api_benchmark"
harness = false
[[bench]]
name = "microbenchmark"
harness = false
[dependencies.anyhow]
version = "1.0.56"
[dependencies.built]
version = "0.5.0"
[dependencies.cauchy]
version = "0.4.0"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.derive_more]
version = "0.99.10"
[dependencies.document-features]
version = "0.2"
optional = true
[dependencies.getrandom]
version = "0.1.15"
features = ["wasm-bindgen"]
[dependencies.itertools]
version = "0.9.0"
[dependencies.lazy_static]
version = "1.4.0"
[dependencies.miette]
version = "4.3.0"
[dependencies.ndarray]
version = "0.15.2"
features = ["serde"]
[dependencies.num-complex]
version = "0.4"
features = ["serde"]
[dependencies.num-traits]
version = "0.2"
[dependencies.num_enum]
version = "0.5.1"
[dependencies.numpy]
version = "0.13.1"
optional = true
[dependencies.once_cell]
version = "1.10.0"
[dependencies.pyo3]
version = "0.13.2"
features = ["extension-module"]
optional = true
[dependencies.rand]
version = "0.7.3"
features = ["alloc"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "=1.0.30"
[dependencies.web-sys]
version = "0.3.4"
features = ["console"]
optional = true
[dev-dependencies.approx]
version = "0.5.1"
features = ["num-complex"]
[dev-dependencies.assert-json-diff]
version = "2.0.1"
[dev-dependencies.backtrace]
version = "0.3.65"
[dev-dependencies.criterion]
version = "0.3"
features = [
"html_reports",
"csv_output",
]
[dev-dependencies.ndarray]
version = "0.15.4"
features = ["approx"]
[build-dependencies.built]
version = "0.5.0"
[features]
default = []
pade = []
python = [
"pyo3",
"numpy",
]
trace_c_api = []
wasm = ["web-sys"]