Skip to content

Commit

Permalink
Remove deprecated legacy pulse builder commands (Qiskit#11191)
Browse files Browse the repository at this point in the history
* deprecated calling gates directly within the pulse builder namespace

* modified tests

* deprecated active_transpiler_settings, active_circuit_scheduler_settings, transpiler_settings of qiskit.pulse.builderand modified related tests

* refactor related tests in test/python/transpiler/test_calibrationbuilder.py

* added relese note

* edited release note

* fixed sphinx error

* fixed sphinx error

* changed version from 1.0.0 to 0.46.0

* deprecated arguments default_transpiler_settings, default_circuit_scheduler_settings in qiskit.pulse.builder.build and modified/refacotred relevant tests

* deprecated QuantumCircuit type for argument target of qiskit.pulse.builder.call function.

* altered docstrings

* edited release note

* altered release note

* refactor code

* removed deprecated functions, and modified tests

* altered a test

* modified test

* This commit makrs the complete removal of deprecated functions, and the relevant tests have been modified.

* removed deprecated arguments, modified tests, and altered docstrings

* refactor docstrings

* refactor code

* lint

* refactor code

* altered release note

* removed circuit_scheduler_settings, with its property, setter and contextmanager, altered release note
  • Loading branch information
MozammilQ authored Dec 8, 2023
1 parent ac7aca3 commit ace6ba6
Show file tree
Hide file tree
Showing 7 changed files with 183 additions and 892 deletions.
10 changes: 0 additions & 10 deletions qiskit/pulse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@
from qiskit.pulse.builder import (
# Construction methods.
active_backend,
active_transpiler_settings,
active_circuit_scheduler_settings,
build,
num_qubits,
qubit_channels,
Expand Down Expand Up @@ -95,21 +93,13 @@
align_left,
align_right,
align_sequential,
circuit_scheduler_settings,
frequency_offset,
phase_offset,
transpiler_settings,
# Macros.
macro,
measure,
measure_all,
delay_qubits,
# Circuit instructions.
cx,
u1,
u2,
u3,
x,
)
from qiskit.pulse.channels import (
AcquireChannel,
Expand Down
Loading

0 comments on commit ace6ba6

Please sign in to comment.