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
Trait for transforming value stored at index I when using index of different type T to read out value
e.g. Hermitian Hamiltonian H but we access H[NOIndex(2,1)] -> H[HermitianIndex(1,2)].conj()
Helper trait to allow truncation of values below threshold.
Should eventually be ported to qoqo_calculator like this
and be implemented for CalculatorFloat, CaclulatorComplex, f64 and Complexf64