rquant 0.0.3

A quantum computing library for qubit manipulation and observation.
Documentation
1
2
3
4
5
6
7
/// [`Simulation<T>`] is a [`trait`] that will allow any generic type
/// to simulate behaviors.
pub trait Simulation<T> {
    /// [`Simulation<T>::simulate_superposition`] will simulate
    /// superposition an `amount` of times.
    fn simulate_superposition(&self, amount: i32) -> Vec<bool>;
}