StabilizerState.expectation_value should accept SparsePauliOp #12422
Labels
mod: quantum info
Related to the Quantum Info module (States & Operators)
type: feature request
New feature or request
What should we add?
Currently, it only accepts Pauli. See
qiskit/qiskit/quantum_info/states/stabilizerstate.py
Lines 257 to 320 in e28f30e
The text was updated successfully, but these errors were encountered: