quantrs2-sim 0.1.0-beta.3

Quantum circuit simulators for the QuantRS2 framework
Documentation
[[bin]]
name = "debug_holographic_matrix"
path = "debug_holographic_matrix.rs"

[[bin]]
name = "test_stabilizer"
path = "src/bin/test_stabilizer.rs"

[dependencies.bytemuck]
features = ["derive", "derive"]
optional = true
version = "1.24.0"

[dependencies.chrono]
features = ["serde"]
version = "0.4"

[dependencies.dashmap]
version = "6.1"

[dependencies.fastrand]
version = "2.3.0"

[dependencies.flate2]
version = "1.1"

[dependencies.futures]
optional = true
version = "0.3"

[dependencies.half]
features = ["num-traits"]
version = "2.7"

[dependencies.md5]
version = "0.8"

[dependencies.memmap2]
version = "0.9"

[dependencies.nalgebra]
optional = true
version = "0.33.2"

[dependencies.nalgebra-sparse]
version = "0.11"

[dependencies.ndrustfft]
optional = true
version = "0.6"

[dependencies.num_cpus]
version = "1.17.0"

[dependencies.optirs-core]
default-features = false
optional = true
version = "0.1.0-rc.2"

[dependencies.pyo3]
features = ["extension-module"]
optional = true
version = "0.27.2"

[dependencies.quantrs2-circuit]
version = "0.1.0-beta.3"

[dependencies.quantrs2-core]
version = "0.1.0-beta.3"

[dependencies.regex]
version = "1.12.2"

[dependencies.scirs2-autograd]
default-features = false
version = "0.1.0-rc.4"

[dependencies.scirs2-core]
default-features = false
features = ["simd", "memory_management", "parallel", "linalg"]
version = "0.1.0-rc.4"

[dependencies.scirs2-fft]
default-features = false
version = "0.1.0-rc.4"

[dependencies.scirs2-linalg]
default-features = false
version = "0.1.0-rc.4"

[dependencies.scirs2-optimize]
default-features = false
optional = true
version = "0.1.0-rc.4"

[dependencies.scirs2-sparse]
default-features = false
version = "0.1.0-rc.4"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.sprs]
optional = true
version = "0.11"

[dependencies.tempfile]
version = "3.23"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
features = ["full", "rt", "rt-multi-thread"]
optional = true
version = "1.48.0"

[dependencies.uuid]
features = ["v4", "serde"]
version = "1.19.0"

[dependencies.wgpu]
optional = true
version = "26.0.1"

[dev-dependencies.approx]
version = "0.5"

[[example]]
name = "automatic_parallelization_demo"
path = "examples/automatic_parallelization_demo.rs"

[[example]]
name = "circuit_optimization_demo"
path = "examples/circuit_optimization_demo.rs"

[[example]]
name = "mps_demo"
path = "examples/mps_demo.rs"

[[example]]
name = "optirs_vs_gradient_descent_benchmark"
path = "examples/optirs_vs_gradient_descent_benchmark.rs"

[[example]]
name = "performance_benchmark_demo"
path = "examples/performance_benchmark_demo.rs"

[[example]]
name = "qaoa_with_optirs"
path = "examples/qaoa_with_optirs.rs"

[[example]]
name = "vqe_with_optirs"
path = "examples/vqe_with_optirs.rs"

[features]
advanced_math = ["dep:scirs2-optimize", "dep:ndrustfft", "dep:sprs", "dep:nalgebra"]
default = ["optimize"]
gpu = ["dep:wgpu", "dep:bytemuck", "dep:tokio", "dep:futures"]
memory_efficient = []
mpi = []
mps = []
optimize = ["simd", "dep:optirs-core"]
python = ["dep:pyo3"]
simd = []

[lib]
name = "quantrs2_sim"
path = "src/lib.rs"

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "warn"
doc_markdown = "allow"
enum_glob_use = "warn"
float_cmp = "allow"
items_after_statements = "allow"
many_single_char_names = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
ptr_eq = "allow"
redundant_closure_for_method_calls = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
unwrap_used = "allow"
wildcard_imports = "allow"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
ambiguous_glob_reexports = "allow"
dead_code = "allow"
deprecated = "allow"
elided_lifetimes_in_paths = "allow"
missing_debug_implementations = "allow"
missing_docs = "allow"
private_bounds = "allow"
private_interfaces = "allow"
unpredictable_function_pointer_comparisons = "allow"
unused_assignments = "allow"
unused_imports = "allow"
unused_mut = "allow"
unused_variables = "allow"

[lints.rust.nonstandard_style]
level = "warn"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[package]
authors = ["QuantRS2 Contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["science", "simulation"]
description = "Quantum circuit simulators for the QuantRS2 framework"
edition = "2021"
keywords = ["quantum", "computing", "simulator", "state-vector", "gates"]
license = "MIT OR Apache-2.0"
name = "quantrs2-sim"
readme = "README.md"
repository = "https://github.com/cool-japan/quantrs"
rust-version = "1.86.0"
version = "0.1.0-beta.3"

[package.metadata.docs.rs]
all-features = false
features = ["optimize", "simd", "memory_efficient"]
rustdoc-args = ["--cfg", "docsrs"]