Skip to content

Commit

Permalink
Applying comments from Elena's review
Browse files Browse the repository at this point in the history
  • Loading branch information
eliarbel committed Mar 1, 2025
1 parent e1d8014 commit 8e14bd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion crates/accelerate/src/basis/basis_translator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ fn extract_basis_target(
};
let bound_inst = op.instruction.bind(py);
// TODO: Use Rust method `op.blocks` instead of Python side extraction now that
// the usage of a python-space method `QuantumCircuit.has_calibration_for` is not needed anymore
// the python-space method `QuantumCircuit.has_calibration_for`
// has been removed and we don't need to account for it.
let blocks = bound_inst.getattr("blocks")?.try_iter()?;
for block in blocks {
extract_basis_target_circ(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ upgrade_transpiler:
upgrade_misc:
- |
As part of Pulse removal in Qiskit 2.0, the ``sequence`` and ``schedule_circuit`` functions
As part of Pulse removal in Qiskit 2.0, the ``sequence`` and ``schedule_circuit`` functions from :mod:`.qiskit.scheduler`
together with the ``ScheduleConfig`` class have been removed.

0 comments on commit 8e14bd5

Please sign in to comment.