Skip to content

fix(#43): correct README Quick Start parameter names and API references - #94

Merged
Manideep3969 merged 1 commit into
mainfrom
fix/issue-43-readme-params
Aug 18, 2026
Merged

fix(#43): correct README Quick Start parameter names and API references#94
Manideep3969 merged 1 commit into
mainfrom
fix/issue-43-readme-params

Conversation

@Manideep3969

Copy link
Copy Markdown
Owner

Bug Fix

README Quick Start used wrong parameter names for OptimizerConfig and referenced a nonexistent API.

Changes:

  • OptimizerConfig: gate_fusionfusion, scheduling_methodscheduling, error_mitigationmitigation, circuit_cuttingcutting
  • CostModel: removed DeviceCharacterization.from_backend() (doesn't exist), use CostModel(backend=backend)
  • FusionResult: no gate_reduction_pct — use total_gates_before/after
  • ScheduleResult: no idle_time_avg — use fidelity fields
  • BatchPlan: use num_batches instead of len(plan.batches)
  • Updated test count to 316

OptimizerConfig uses fusion/scheduling/mitigation/cutting (not
gate_fusion/scheduling_method/error_mitigation/circuit_cutting).
CostModel takes backend= directly (no DeviceCharacterization.from_backend).
FusionResult has no gate_reduction_pct — use total_gates_before/after.
ScheduleResult has no idle_time_avg — use fidelity fields instead.
BatchPlan has num_batches — prefer that over len(plan.batches).
Update test count to 316.
@Manideep3969
Manideep3969 merged commit 1bc3d87 into main Aug 18, 2026
4 checks passed
@Manideep3969
Manideep3969 deleted the fix/issue-43-readme-params branch August 18, 2026 07:49
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