Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of deprecated Qiskit 2.0 related code #2318

Merged
merged 10 commits into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions qiskit_aer/backends/aer_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
from qiskit.circuit.classical.types import Bool, Uint
from qiskit.circuit.library import Initialize
from qiskit.providers.options import Options
from qiskit.pulse import Schedule, ScheduleBlock
from qiskit.circuit import Store
from qiskit.circuit.controlflow import (
WhileLoopOp,
Expand Down Expand Up @@ -85,7 +84,7 @@ def compile(self, circuits, optypes=None):
compiled circuit optypes for each circuit if
optypes kwarg is not None.
"""
if isinstance(circuits, (QuantumCircuit, Schedule, ScheduleBlock)):
if isinstance(circuits, QuantumCircuit):
circuits = [circuits]
if optypes is None:
compiled_optypes = len(circuits) * [None]
Expand Down
2,072 changes: 1,025 additions & 1,047 deletions qiskit_aer/backends/aer_simulator.py

Large diffs are not rendered by default.

Loading
Loading