Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseclectic committed Jan 9, 2024
1 parent 380e1e1 commit 048150e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qiskit/primitives/base/base_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def precision(self, value: float | None):
def run(self, pubs: Iterable[EstimatorPubLike]) -> Job:
"""Estimate expectation values for each provided pub (Primitive Unified Bloc).
pubs: An iterable of pub-like objects, such as tuples ``(circuit, observables)`` or
pubs: An iterable of pub-like objects, such as tuples ``(circuit, observables)`` or
``(circuit, observables, parameter_values)``.
Returns:
Expand Down
4 changes: 2 additions & 2 deletions qiskit/primitives/containers/estimator_pub.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from __future__ import annotations

from typing import Tuple, Union
from numbers import Number

import numpy as np

Expand All @@ -31,7 +30,7 @@

class EstimatorPub(ShapedMixin):
"""Primitive Unified Bloc for any Estimator primitive.
An estimator pub is essentially a triple ``(circuit, observables, parameter_values)``.
"""

Expand All @@ -52,6 +51,7 @@ def __init__(
parameter_values: A bindings array, if the circuit is parametric.
validate: Whether to validate arguments during initialization.
"""
super().__init__()
self._circuit = circuit
self._observables = observables
self._parameter_values = parameter_values or BindingsArray()
Expand Down

0 comments on commit 048150e

Please sign in to comment.