• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit-terra / 5875635191

pending completion
5875635191

push

github

web-flow
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>

4 of 4 new or added lines in 1 file covered. (100.0%)

74297 of 85151 relevant lines covered (87.25%)

60806.35 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.76
/crates/qasm2/src/expr.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc