Docs.rs
moma_simulation_engine-0.2.8
moma_simulation_engine 0.2.8
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
Neil-Crago
Dependencies
moma ^0.3.0
normal
num-complex ^0.4.6
normal
ordered-float ^5.0.0
normal
rand ^0.9.2
normal
Versions
74.29%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
moma_
simulation_
engine
0.2.8
Module qubit
Module Items
Structs
In crate moma_
simulation_
engine
moma_simulation_engine
Module
qubit
Copy item path
Source
Expand description
Represents a single qubit.
Structs
§
Qubit
Represents a single qubit. The state is stored as a 2-element array of complex numbers [alpha, beta], corresponding to the state |ψ⟩ = α|0⟩ + β|1⟩.