Skip to content

Commit

Permalink
Remove circuit & observable indicies run inputs (#1211)
Browse files Browse the repository at this point in the history
  • Loading branch information
kt474 authored Nov 10, 2023
1 parent b146fac commit fd00791
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 0 additions & 2 deletions qiskit_ibm_runtime/estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,7 @@ def _run( # pylint: disable=arguments-differ
"""
inputs = {
"circuits": circuits,
"circuit_indices": list(range(len(circuits))),
"observables": observables,
"observable_indices": list(range(len(observables))),
"parameters": [circ.parameters for circ in circuits],
"parameter_values": parameter_values,
}
Expand Down
1 change: 0 additions & 1 deletion qiskit_ibm_runtime/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ def _run( # pylint: disable=arguments-differ
inputs = {
"circuits": circuits,
"parameters": [circ.parameters for circ in circuits],
"circuit_indices": list(range(len(circuits))),
"parameter_values": parameter_values,
}
return self._run_primitive(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
fixes:
- |
The ``circuit_indices`` and ``observable_indices`` run inputs for
:class:`~qiskit_ibm_runtime.Estimator` and :class:`~qiskit_ibm_runtime.Sampler`
have been completely removed.

0 comments on commit fd00791

Please sign in to comment.