Skip to content

fix(#57): _get_gate_duration now uses device calibration data - #106

Merged
Manideep3969 merged 1 commit into
mainfrom
fix/issue-57-gate-duration-calibration
Aug 22, 2026
Merged

fix(#57): _get_gate_duration now uses device calibration data#106
Manideep3969 merged 1 commit into
mainfrom
fix/issue-57-gate-duration-calibration

Conversation

@Manideep3969

Copy link
Copy Markdown
Owner

Replaces fixed 1/3 gate duration model with actual device calibration lookup. When gate_lengths are available, durations are converted to abstract time units relative to average single-qubit gate time. Falls back to 1/3 when no device data. 3 regression tests. All 355 tests pass.

_get_gate_duration returned fixed values (1 for single-qubit, 3 for
two-qubit) regardless of device data, making scheduling duration
estimates inaccurate for devices with heterogeneous gate times.

Fix: Look up actual gate durations from
cost_model.device.gate_lengths when available, converting to abstract
time units relative to average single-qubit gate duration. Fall back
to 1/3 model when no device data is available. Add 3 regression tests.
@Manideep3969
Manideep3969 merged commit 6bfd0fe into main Aug 22, 2026
4 checks passed
@Manideep3969
Manideep3969 deleted the fix/issue-57-gate-duration-calibration branch August 22, 2026 04:54
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.

1 participant