github
Reject bad values in `SparsePauliOp.paulis` setter (#10437) * Fix Sparse pauli setter to update dimension info * Fix Sparse pauli setter to verify dimension info Value error will be raised if: 1. Number of qubits are not equal 2. Number of elements in PauliList are not equal * Add tests * Add release note --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com> Co-authored-by: Ikko Hamamura <ikkoham@users.noreply.github.com> (cherry picked from commit fe87015a9)
4 of 4 new or added lines in 1 file covered. (100.0%)
74096 of 84922 relevant lines covered (87.25%)
60736.14 hits per line