Skip to content

Commit

Permalink
Remove importing PauliSumOp, which is deprecated. (#1079)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
Co-authored-by: Kevin Tian <kevin.tian@ibm.com>
  • Loading branch information
3 people authored Sep 14, 2023
1 parent a52f8d3 commit 5d0c862
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion qiskit_ibm_runtime/estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
import os
from typing import Optional, Dict, Sequence, Any, Union
import logging
import typing

from qiskit.circuit import QuantumCircuit
from qiskit.opflow import PauliSumOp
from qiskit.quantum_info.operators.base_operator import BaseOperator
from qiskit.primitives import BaseEstimator

Expand All @@ -32,6 +32,9 @@
# pylint: disable=unused-import,cyclic-import
from .session import Session

if typing.TYPE_CHECKING:
from qiskit.opflow import PauliSumOp

logger = logging.getLogger(__name__)


Expand Down

0 comments on commit 5d0c862

Please sign in to comment.