[package]
edition = "2021"
rust-version = "1.86.0"
name = "quantrs2"
version = "0.1.2"
authors = ["COOLJAPAN OU"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Comprehensive Rust quantum computing framework - unified entry point for quantum simulation, algorithm development, and hardware interaction"
homepage = "https://github.com/cool-japan/quantrs"
documentation = "https://docs.rs/quantrs2"
readme = "README.md"
keywords = [
"quantum",
"computing",
"simulator",
"annealing",
"gate",
]
categories = [
"science",
"simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cool-japan/quantrs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
anneal = [
"dep:quantrs2-anneal",
"circuit",
]
circuit = ["dep:quantrs2-circuit"]
default = []
device = [
"dep:quantrs2-device",
"circuit",
]
full = [
"circuit",
"sim",
"anneal",
"device",
"ml",
"tytan",
"symengine",
]
ml = [
"dep:quantrs2-ml",
"sim",
"anneal",
]
sim = [
"dep:quantrs2-sim",
"circuit",
]
symengine = ["dep:quantrs2-symengine-pure"]
tytan = [
"dep:quantrs2-tytan",
"anneal",
]
[lib]
name = "quantrs2"
path = "src/lib.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "configuration"
path = "examples/configuration.rs"
[[example]]
name = "diagnostics"
path = "examples/diagnostics.rs"
[[example]]
name = "error_handling"
path = "examples/error_handling.rs"
[[example]]
name = "memory_estimation"
path = "examples/memory_estimation.rs"
[[example]]
name = "prelude_hierarchy"
path = "examples/prelude_hierarchy.rs"
[[example]]
name = "scirs2_integration"
path = "examples/scirs2_integration.rs"
[[example]]
name = "testing_helpers"
path = "examples/testing_helpers.rs"
[[example]]
name = "utility_functions"
path = "examples/utility_functions.rs"
[[test]]
name = "integration_basic"
path = "tests/integration_basic.rs"
[[test]]
name = "integration_cross_subcrate"
path = "tests/integration_cross_subcrate.rs"
[[test]]
name = "integration_diagnostics"
path = "tests/integration_diagnostics.rs"
[[test]]
name = "integration_end_to_end_workflows"
path = "tests/integration_end_to_end_workflows.rs"
[[test]]
name = "integration_feature_combinations"
path = "tests/integration_feature_combinations.rs"
[[test]]
name = "integration_features"
path = "tests/integration_features.rs"
[[test]]
name = "integration_performance"
path = "tests/integration_performance.rs"
[dependencies.num_cpus]
version = "1.17.0"
[dependencies.quantrs2-anneal]
version = "0.1.2"
optional = true
[dependencies.quantrs2-circuit]
version = "0.1.2"
optional = true
[dependencies.quantrs2-core]
version = "0.1.2"
[dependencies.quantrs2-device]
version = "0.1.2"
optional = true
default-features = false
[dependencies.quantrs2-ml]
version = "0.1.2"
optional = true
[dependencies.quantrs2-sim]
version = "0.1.2"
optional = true
[dependencies.quantrs2-symengine-pure]
version = "0.1.2"
optional = true
[dependencies.quantrs2-tytan]
version = "0.1.2"
optional = true
[dev-dependencies.scirs2-core]
version = "0.1.2"
features = [
"serialization",
"linalg",
"simd",
"parallel",
"cache",
"profiling",
"memory_management",
"random",
"array",
]
default-features = false
[build-dependencies.chrono]
version = "0.4"
features = ["serde"]
[build-dependencies.rustc_version]
version = "0.4"
[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