onq 0.5.0

Operations for Next-generation Quantum computing
Documentation
1
2
3
4
5
6
7
8
9
10
//! Mathematical constants potentially relevant to simulation.

/// Mathematical constants derived from or relevant to the framework
pub mod onq_constants {
    /// The golden ratio constant φ (Phi).
    pub const PHI: f64 = 1.618_033_988_749_895;
    /// Used for phase angles (`e^(iθ)`)
    pub const PI: f64 = std::f64::consts::PI;
}