Skip to content

drop insertion of gate/circuit durations into qiskit circuits#1334

Merged
richrines1 merged 4 commits into
mainfrom
rich/drop-durations
Jan 20, 2026
Merged

drop insertion of gate/circuit durations into qiskit circuits#1334
richrines1 merged 4 commits into
mainfrom
rich/drop-durations

Conversation

@richrines1

Copy link
Copy Markdown
Contributor

(QiskitCircuit.duration has been deprecated)

@bharat-thotakura bharat-thotakura left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@richrines1 richrines1 merged commit 493eaf9 into main Jan 20, 2026
18 of 21 checks passed
@richrines1 richrines1 deleted the rich/drop-durations branch January 20, 2026 22:01
bharat-thotakura added a commit that referenced this pull request Jan 23, 2026
Updates the `ibmq_dd_strategies_qss.ipynb` notebook to not use the
retired `"ibmq_brisbane_qpu"`, and gets circuit duration estimates for
`ibmq_compile_*.ipynb` to fix the recent failing notebook checks.

Note: After #1334,
setting circuit durations is no longer done manually. Instead, as
recommended, the notebooks use the `.estimate_duration()` method to
determine the circuit duration value (at least until the duration
setting is supported/needed in `qiskit`). This is necessary as
`qiskit`'s timeline drawer seems to call `load_program()` which [then
checks
`program._duration`](https://github.com/Qiskit/qiskit/blob/aedc6f0aaad5b4a51d972b276017c64a3f9c0a19/qiskit/visualization/timeline/core.py#L263)

---------

Signed-off-by: Bharath <bharath.thotakura@infleqtion.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants