push
github
Reject bad values in `SparsePauliOp.paulis` setter (#10437) (#10643) * 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) Co-authored-by: atharva-satpute <55058959+atharva-satpute@users.noreply.github.com>
4 of 4 new or added lines in 1 file covered. (100.0%)
74089 of 84922 relevant lines covered (87.24%)
60953.94 hits per line