Let $A$ be a linear operator between two Hilbert spaces. Let $A^*$ be its adjoint.
Question. Under what conditions the non-zero spectra of $A^*A$ and $AA^*$ coincide counting multiplicities?
In my situation $A$ is an elliptic differential operator between two complex line bundles over a compact smooth manifold.
Remark. If all Hilbert spaces are finite dimensional then the result is true.