ppvm-traits 0.1.1

Core traits, the `Config` bundle and the single-qubit Pauli alphabet shared by the ppvm crates.
Documentation

ppvm-traits

Core traits shared by the ppvm crates: the Config trait, the single-qubit Pauli alphabet, and the ACMap/Trace map implementations.

Config is a compile-time bundle that fixes the storage, coefficient type, truncation strategy, hasher, Pauli-word representation and map for one PauliSum type. The other ppvm crates are generic over it, so choosing a configuration costs nothing at runtime.

Most users will want a higher-level crate such as ppvm-pauli-sum or ppvm-tableau instead.

Part of ppvm, the Programmable Pauli Virtual Machine.

Usage

cargo add ppvm-traits

License

Apache-2.0. See LICENSE and NOTICE.