pub fn born_probability_kernel( state: &HilbertState, basis: &HilbertState, ) -> Result<f64, PhysicsError>
Calculates the Born probability: $P = |\langle \text{basis} | \text{state} \rangle|^2$.
state
basis
Ok(f64)