Quantum covariance and filtering