push
github
Fix the calculation for identity operator's expectation value (#13345) (#13436) * Fix the calculation for identity operator's expectation value * Add release note and test * reformatted `test_statevector.py` with black * Update releasenotes/notes/fix_identity_operator_9e2ec9770ac046a6.yaml Co-authored-by: Julien Gacon <gaconju@gmail.com> * add a docstring to pass the pylint test * Fix leading `.` --------- Co-authored-by: Julien Gacon <gaconju@gmail.com> (cherry picked from commit edad499f9) Co-authored-by: Jinghong Yang <66985891+yjh-bill@users.noreply.github.com>
1 of 1 new or added line in 1 file covered. (100.0%)
17 existing lines in 3 files now uncovered.79044 of 88902 relevant lines covered (88.91%)
354261.52 hits per line