[package]
edition = "2021"
name = "racah"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Racah-Wigner calculus for compact Lie groups: exact SU(2) recoupling, and runtime Clebsch-Gordan / F- / R-coefficient generation for SU(N), SO(N), and Sp(2N)"
readme = "README.md"
keywords = [
"recoupling",
"clebsch-gordan",
"wigner",
"lie-group",
"6j",
]
categories = [
"mathematics",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Ryo-wtnb11/racah"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--html-in-header",
"doc/katex-header.html",
]
[features]
cgc-gen = [
"dep:tenferro-linalg",
"dep:tenferro-cpu",
"dep:tenferro-runtime",
"tenferro-linalg/cpu-faer",
"tenferro-cpu/cpu-faer",
]
default = []
[lib]
name = "racah"
path = "src/lib.rs"
[[test]]
name = "base_cache_contract"
path = "tests/base_cache_contract.rs"
[[test]]
name = "bcd_fingerprint"
path = "tests/bcd_fingerprint.rs"
[[test]]
name = "bcd_fr"
path = "tests/bcd_fr.rs"
[[test]]
name = "cache_trim_base"
path = "tests/cache_trim_base.rs"
[[test]]
name = "cache_trim_generated_routing"
path = "tests/cache_trim_generated_routing.rs"
[[test]]
name = "coefficient_cache_budget_base"
path = "tests/coefficient_cache_budget_base.rs"
[[test]]
name = "coefficient_cache_budget_generated"
path = "tests/coefficient_cache_budget_generated.rs"
[[test]]
name = "coefficient_cache_budget_observation"
path = "tests/coefficient_cache_budget_observation.rs"
[[test]]
name = "doc_examples"
path = "tests/doc_examples.rs"
[[test]]
name = "fixtures_large"
path = "tests/fixtures_large.rs"
[[test]]
name = "fr_oracle"
path = "tests/fr_oracle.rs"
[[test]]
name = "gauge_golden"
path = "tests/gauge_golden.rs"
[[test]]
name = "generated_backend_identity"
path = "tests/generated_backend_identity.rs"
[[test]]
name = "generated_cache_contract"
path = "tests/generated_cache_contract.rs"
[[test]]
name = "global_form"
path = "tests/global_form.rs"
[[test]]
name = "groupmath_oracle"
path = "tests/groupmath_oracle.rs"
[[test]]
name = "isomorphism"
path = "tests/isomorphism.rs"
[[test]]
name = "oracle"
path = "tests/oracle.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "spin"
path = "tests/spin.rs"
[[test]]
name = "su2_embedding"
path = "tests/su2_embedding.rs"
[[test]]
name = "su2_fingerprint"
path = "tests/su2_fingerprint.rs"
[[test]]
name = "sun_cgc_cache"
path = "tests/sun_cgc_cache.rs"
[[test]]
name = "sun_cgc_fixtures"
path = "tests/sun_cgc_fixtures.rs"
[[test]]
name = "sun_fingerprint"
path = "tests/sun_fingerprint.rs"
[[test]]
name = "sun_fr_cache"
path = "tests/sun_fr_cache.rs"
[[test]]
name = "sun_fr_gates"
path = "tests/sun_fr_gates.rs"
[[test]]
name = "sun_fr_su2"
path = "tests/sun_fr_su2.rs"
[[test]]
name = "sun_fr_su3_oracle"
path = "tests/sun_fr_su3_oracle.rs"
[[test]]
name = "sun_oracle"
path = "tests/sun_oracle.rs"
[[test]]
name = "sun_product_cache"
path = "tests/sun_product_cache.rs"
[[bench]]
name = "bcd_fr"
path = "benches/bcd_fr.rs"
harness = false
required-features = ["cgc-gen"]
[[bench]]
name = "sun_cgc"
path = "benches/sun_cgc.rs"
harness = false
required-features = ["cgc-gen"]
[[bench]]
name = "sun_fr"
path = "benches/sun_fr.rs"
harness = false
required-features = ["cgc-gen"]
[[bench]]
name = "sun_product"
path = "benches/sun_product.rs"
harness = false
required-features = ["cgc-gen"]
[[bench]]
name = "wigner"
path = "benches/wigner.rs"
harness = false
[dependencies.num-bigint]
version = "0.4"
[dependencies.num-rational]
version = "0.4"
[dependencies.num-traits]
version = "0.2"
[dependencies.tenferro-cpu]
version = "0.3.0"
optional = true
default-features = false
[dependencies.tenferro-linalg]
version = "0.3.0"
optional = true
default-features = false
[dependencies.tenferro-runtime]
version = "0.3.0"
optional = true
default-features = false
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.rand_chacha]
version = "0.3"
[dev-dependencies.rug]
version = "1.30"
[dev-dependencies.wigner-symbols]
version = "=0.5.1"