expanded doesn't work with implicitly defined Hamiltonian
In this line we figure out which terms H
has by accessing its data. This doesn't work on symbolically generated series, and we should exclusively rely on H.evaluated
.
In this line we figure out which terms H
has by accessing its data. This doesn't work on symbolically generated series, and we should exclusively rely on H.evaluated
.