A basis‐independent approach to quantum optics; | American Journal of Physics | DeepDyve