[package]
edition = "2024"
rust-version = "1.88"
name = "qec-code"
version = "0.3.0"
build = false
include = [
"/src/**",
"/tests/**",
"/examples/**",
"/doc/**",
"/assets/**",
"/README.md",
"/LICENSE",
"/Cargo.toml",
"/Cargo.lock",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust primitives for constructing and analyzing quantum error-correcting codes"
homepage = "https://nzy1997.github.io/rust-qec/"
documentation = "https://docs.rs/qec-code"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/nzy1997/rust-qec"
[features]
cli = ["dep:clap"]
default = []
distance-ilp-gurobi = [
"dep:qec-ilp-core",
"qec-ilp-core/gurobi",
]
distance-ilp-highs = [
"dep:qec-ilp-core",
"qec-ilp-core/highs",
]
[lib]
name = "qec_code"
path = "src/lib.rs"
[[bin]]
name = "qec-code"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "binary"
path = "tests/binary.rs"
[[test]]
name = "binary_chain_complex"
path = "tests/binary_chain_complex.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "code"
path = "tests/code.rs"
[[test]]
name = "color_666"
path = "tests/color_666.rs"
[[test]]
name = "coprime_bb"
path = "tests/coprime_bb.rs"
[[test]]
name = "css_export"
path = "tests/css_export.rs"
[[test]]
name = "css_matrix_input"
path = "tests/css_matrix_input.rs"
[[test]]
name = "deferred_contracts"
path = "tests/deferred_contracts.rs"
[[test]]
name = "directional"
path = "tests/directional.rs"
[[test]]
name = "distance_backend_features"
path = "tests/distance_backend_features.rs"
[[test]]
name = "distance_bound"
path = "tests/distance_bound.rs"
[[test]]
name = "distance_exact"
path = "tests/distance_exact.rs"
[[test]]
name = "distance_ilp_lowering"
path = "tests/distance_ilp_lowering.rs"
[[test]]
name = "distance_ladder_manifest"
path = "tests/distance_ladder_manifest.rs"
[[test]]
name = "family_catalog"
path = "tests/family_catalog.rs"
[[test]]
name = "family_cli"
path = "tests/family_cli.rs"
[[test]]
name = "family_contract"
path = "tests/family_contract.rs"
[[test]]
name = "finite_group_lifts"
path = "tests/finite_group_lifts.rs"
[[test]]
name = "generalized_bicycle"
path = "tests/generalized_bicycle.rs"
[[test]]
name = "hypergraph_product"
path = "tests/hypergraph_product.rs"
[[test]]
name = "la_cross"
path = "tests/la_cross.rs"
[[test]]
name = "lifted_product"
path = "tests/lifted_product.rs"
[[test]]
name = "logical_distance"
path = "tests/logical_distance.rs"
[[test]]
name = "logical_general"
path = "tests/logical_general.rs"
[[test]]
name = "normalizer"
path = "tests/normalizer.rs"
[[test]]
name = "packed_gf2_api"
path = "tests/packed_gf2_api.rs"
[[test]]
name = "quantum_tanner_cli"
path = "tests/quantum_tanner_cli.rs"
[[test]]
name = "quantum_tanner_contract"
path = "tests/quantum_tanner_contract.rs"
[[test]]
name = "random_hgp"
path = "tests/random_hgp.rs"
[[test]]
name = "random_two_block"
path = "tests/random_two_block.rs"
[[test]]
name = "regular_classical"
path = "tests/regular_classical.rs"
[[test]]
name = "shor_like"
path = "tests/shor_like.rs"
[[test]]
name = "sparse_gf2"
path = "tests/sparse_gf2.rs"
[[test]]
name = "surface_family"
path = "tests/surface_family.rs"
[[test]]
name = "toric_3d"
path = "tests/toric_3d.rs"
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.qec-ilp-core]
version = "0.3.0"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dev-dependencies.tempfile]
version = "3"