everett 0.1.0

A clean, zero-dependency statevector quantum simulator.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "everett"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A clean, zero-dependency statevector quantum simulator."
readme = "README.md"
keywords = [
    "quantum",
    "simulator",
    "statevector",
    "qubit",
    "physics",
]
categories = [
    "science",
    "simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hz2/everett"

[features]
default = []
parallel = ["dep:rayon"]

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

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

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

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

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

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

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

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

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

[[test]]
name = "algorithms_hamiltonian"
path = "tests/algorithms_hamiltonian.rs"

[[test]]
name = "algorithms_phase_estimation"
path = "tests/algorithms_phase_estimation.rs"

[[test]]
name = "algorithms_prep"
path = "tests/algorithms_prep.rs"

[[test]]
name = "algorithms_qft"
path = "tests/algorithms_qft.rs"

[[test]]
name = "algorithms_superdense"
path = "tests/algorithms_superdense.rs"

[[test]]
name = "algorithms_teleport"
path = "tests/algorithms_teleport.rs"

[[test]]
name = "properties"
path = "tests/properties.rs"

[[test]]
name = "qasm_corpus"
path = "tests/qasm_corpus.rs"

[[test]]
name = "stabilizer"
path = "tests/stabilizer.rs"

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

[dependencies.rayon]
version = "1"
optional = true

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

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1"

[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"

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

[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]

[profile.release]
lto = "thin"
codegen-units = 1