Interaction RDM's expectation functionality was out of date and contained some peculiar hold overs from previous QubitOperator format. In particular it removed the identity internally, which required one to add it externally. Everything functions as expected if both of these removal/additions are removed at the same time.
Interaction RDM's expectation functionality was out of date and contained some peculiar hold overs from previous QubitOperator format. In particular it removed the identity internally, which required one to add it externally. Everything functions as expected if both of these removal/additions are removed at the same time.