qiskit/releasenotes/notes/0.10/remove-deprecated-schedule-...

18 lines
480 B
YAML

---
upgrade:
- |
The deprecated module ``qiskit.pulse.ops`` has been removed. Use
``Schedule`` and ``Instruction`` methods directly. For example, rather
than::
ops.union(schedule_0, schedule_1)
ops.union(instruction, schedule) # etc
Instead please use::
schedule_0.union(schedule_1)
instruction.union(schedule)
This same pattern applies to other ``ops`` functions: ``insert``, ``shift``,
``append``, and ``flatten``.