github
Fix the calculation for identity operator's expectation value (#13345) * 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)
1 of 1 new or added line in 1 file covered. (100.0%)
7 existing lines in 3 files now uncovered.79061 of 88902 relevant lines covered (88.93%)
354901.58 hits per line