qudit-expr 0.3.3

Accelerated and Extensible Quantum Library
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"
name = "qudit-expr"
version = "0.3.3"
authors = ["Ed Younis <edyounis@lbl.gov>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Accelerated and Extensible Quantum Library"
readme = "README.md"
keywords = [
    "circuit",
    "gates",
    "instantiation",
    "quantum",
    "qudit",
]
categories = [
    "compilers",
    "data-structures",
    "mathematics",
    "parser-implementations",
    "science",
]
license = "BSD-3-Clause"
repository = "https://github.com/OpenQudit/OpenQudit"

[features]
llvm-dynamic = ["llvm-sys/force-dynamic"]
llvm-static = ["llvm-sys/force-static"]
python = [
    "dep:inventory",
    "dep:numpy",
    "dep:pyo3",
    "dep:pyo3-stub-gen",
    "qudit-core/python",
]

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

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

[[bench]]
name = "common"
path = "benches/common.rs"

[dependencies.coe-rs]
version = "0.1.2"

[dependencies.egg]
version = "0.10.0"

[dependencies.faer]
version = "0.23.2"
features = [
    "rand",
    "std",
]
default-features = false

[dependencies.indexmap]
version = "2.12.0"

[dependencies.inkwell]
version = "0.8.0"
features = ["llvm21-1"]

[dependencies.inventory]
version = "0.3.21"
optional = true

[dependencies.itertools]
version = "0.14.0"

[dependencies.llvm-sys]
version = "211.0.0"

[dependencies.num]
version = "0.4.3"
features = ["serde"]

[dependencies.numpy]
version = "0.29.0"
optional = true

[dependencies.ordered-float]
version = "5.1.0"

[dependencies.postcard]
version = "1"
features = ["alloc"]
default-features = false

[dependencies.pyo3]
version = "0.29.0"
features = ["abi3-py310"]
optional = true

[dependencies.pyo3-stub-gen]
version = "0.23.0"
optional = true

[dependencies.qudit-core]
version = "0.3.3"

[dependencies.rand]
version = "0.9.2"

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

[dependencies.serde]
version = "1.0.228"

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

[dev-dependencies.pprof]
version = "0.15"
features = [
    "criterion",
    "flamegraph",
]

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

[lints.clippy]
approx_constant = "allow"
collapsible_if = "allow"
missing_transmute_annotations = "allow"
module_inception = "allow"
needless_range_loop = "allow"
too_many_arguments = "allow"
upper_case_acronyms = "allow"