quantrs2-core 0.1.1

Core types and traits for the QuantRS2 quantum computing framework
Documentation
[[bench]]
name = "gate_performance"
path = "benches/gate_performance.rs"

[[bench]]
harness = false
name = "simd_performance"
path = "benches/simd_performance.rs"

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

[dependencies.flate2]
version = "1.1"

[dependencies.num_cpus]
version = "1.17.0"

[dependencies.numrs2]
optional = true
version = "0.1.1"

[dependencies.optirs-core]
default-features = false
version = "0.1.0"

[dependencies.oxicode]
features = ["std", "derive", "serde"]
version = "0.1.1"

[dependencies.pyo3]
default-features = false
features = ["extension-module", "extension-module", "abi3-py38"]
optional = true
version = "0.27.2"

[dependencies.quantrs2-symengine-pure]
optional = true
version = "0.1.1"

[dependencies.regex]
version = "1.12.2"

[dependencies.rustc-hash]
version = "2.1"

[dependencies.scirs2-autograd]
default-features = false
version = "0.1.2"

[dependencies.scirs2-core]
default-features = false
features = ["serialization", "linalg", "simd", "parallel", "cache", "profiling", "memory_management", "random", "array", "simd", "parallel", "cache", "profiling", "memory_management"]
version = "0.1.2"

[dependencies.scirs2-linalg]
default-features = false
features = ["tensor_contraction"]
version = "0.1.2"

[dependencies.scirs2-numpy]
default-features = false
optional = true
version = "0.1.3"

[dependencies.scirs2-optimize]
default-features = false
version = "0.1.2"

[dependencies.scirs2-sparse]
default-features = false
version = "0.1.2"

[dependencies.scirs2-special]
default-features = false
version = "0.1.2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.smallvec]
features = ["const_generics"]
version = "1.15"

[dependencies.sysinfo]
version = "0.36"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
features = ["full"]
version = "1.49.0"

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

[dependencies.zstd]
version = "0.13"

[dev-dependencies.criterion]
features = ["html_reports", "async_tokio"]
version = "0.8"

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

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

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

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

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

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

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

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

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

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

[features]
compression = []
cuda = []
default = []
gpu = []
metal = []
mps = []
python = ["dep:pyo3", "dep:scirs2-numpy"]
simd = []
symbolic = ["dep:quantrs2-symengine-pure"]
vulkan = []

[lib]
name = "quantrs2_core"
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 = ["COOLJAPAN OU"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["science", "simulation"]
description = "Core types and traits for the QuantRS2 quantum computing framework"
edition = "2021"
keywords = ["quantum", "computing", "core", "types", "traits"]
license = "MIT OR Apache-2.0"
name = "quantrs2-core"
readme = "README.md"
repository = "https://github.com/cool-japan/quantrs"
rust-version = "1.86.0"
version = "0.1.1"

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