Closed 1tnguyen closed 3 years ago
The test circuit in https://github.com/ORNL-QCI/tnqvm/issues/91 helped uncover some subtle bugs in these special exp-val calculation methods.
In the slicing method, the parity tracker flag was not placed in the correct scope -> not properly initialized.
In the double-depth method, the counter and tensor name list must be cached for the base circuit, before adding change-of-basis.
The test circuit in https://github.com/ORNL-QCI/tnqvm/issues/91 helped uncover some subtle bugs in these special exp-val calculation methods.
In the slicing method, the parity tracker flag was not placed in the correct scope -> not properly initialized.
In the double-depth method, the counter and tensor name list must be cached for the base circuit, before adding change-of-basis.