pub trait ConjugationTrait: Sized {
// Required method
fn conjugate(&self) -> Self;
}Expand description
Helper trait to allow hermitian conjugation of values Should eventually be ported to qoqo_calculator like this and be implemented for CalculatorFloat, CaclulatorComplex, f64 and Complexf64
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.