moonlab 1.2.0

Safe, idiomatic Rust bindings for the Moonlab quantum simulator
docs.rs failed to build moonlab-1.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

Moonlab for Rust

Safe, idiomatic Rust bindings for the Moonlab quantum simulator.

The native Moonlab SDK must be installed. A Homebrew installation is detected through pkg-config; custom SDK locations can be selected with MOONLAB_LIB_DIR and MOONLAB_INCLUDE_DIR.

use moonlab::QuantumState;

let mut state = QuantumState::new(2).unwrap();
state.h(0).cnot(0, 1);