stabilizer-ch-form-rust

Crates.iostabilizer-ch-form-rust
lib.rsstabilizer-ch-form-rust
version0.1.1
created_at2026-01-02 18:02:47.119903+00
updated_at2026-01-03 11:03:02.141832+00
descriptionA Rust library implementing CH form representation of stabilizer states for quantum computing simulations.
homepagehttps://github.com/mutekichi/necstar
repositoryhttps://github.com/mutekichi/necstar
max_upload_size
id2018965
size137,099
Yuki Watanabe (mutekichi)

documentation

https://mutekichi.github.io/necstar/rust/stabilizer_ch_form_rust/

README

stabilizer-ch-form-rust: Fast Stabilizer State Manipulation using CH-form

A Rust library for simulating stabilizer states using the CH-form representation based on the reference [1]. This representation keeps track of the global phase unlike the typical tableau representation.

Getting Started

Use from crates.io

To use stabilizer-ch-form-rust as a library in your Rust project, add the following to your Cargo.toml:

[dependencies]
stabilizer-ch-form-rust = "0.1.1"

Build from Source

If you want to modify the source code, you can set up the project locally.

  1. Clone the repository:

    git clone git@github.com:mutekichi/necstar.git
    
  2. Specify the path dependency in your Cargo.toml:

    [dependencies]
    stabilizer-ch-form-rust = { path = "/path/to/necstar/crates/stabilizer-ch-form-rust" }
    

    Replace /path/to/necstar with the actual path to the cloned repository.

Documentation

See the Documentation for more details and examples.

References

  • [1] S. Bravyi, D. Browne, P. Calpin, E. Campbell, D. Gosset, and M. Howard, "Simulation of quantum circuits by low-rank stabilizer decompositions", Quantum 3, 181 (2019). https://doi.org/10.22331/q-2019-09-02-181
Commit count: 0

cargo fmt