This PR addresses #1224. This commit changes the orbital ordering of the FermiHubbardModel to make it consistent with the block-ordering of the ElectronicEnergy class.
Details and comments
With this change, JordanWignerMapper produces block encoding when mapping the second quantization hamiltonian of FermiHubbardModel. InterleavedQubitMapper acting on JordanWignerMapper produces interleaved encoding. See full description in the original issue.
Summary
This PR addresses #1224. This commit changes the orbital ordering of the
FermiHubbardModel
to make it consistent with the block-ordering of theElectronicEnergy
class.Details and comments
With this change,
JordanWignerMapper
produces block encoding when mapping the second quantization hamiltonian ofFermiHubbardModel
.InterleavedQubitMapper
acting onJordanWignerMapper
produces interleaved encoding. See full description in the original issue.