I was having some problems with error mitigation and I just noticed that the error_sensitive_circuit method only considers the firs term of the observable here:
|
terms = observable.terms[0].factors |
is this expected?
What happens if I have a multi term hamiltonian or a non diagonal one, are our methods expected to work?
@AlejandroSopena maybe you can help me out here.
I was having some problems with error mitigation and I just noticed that the
error_sensitive_circuitmethod only considers the firs term of the observable here:qibo/src/qibo/models/error_mitigation.py
Line 1033 in 01f1342
is this expected?
What happens if I have a multi term hamiltonian or a non diagonal one, are our methods expected to work?
@AlejandroSopena maybe you can help me out here.