Skip to content

Commit

Permalink
Read correct field in QEC scheme (#1602)
Browse files Browse the repository at this point in the history
The wrong field is read to calculate the physical number of qubits for a
QEC scheme.
  • Loading branch information
msoeken authored Jun 3, 2024
1 parent 390922a commit 7c401d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource_estimator/src/system/modeling/fault_tolerance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl Protocol {
.clone();

let physical_qubits_per_logical_qubit_expr = model
.logical_cycle_time
.physical_qubits_per_logical_qubit
.as_ref()
.ok_or_else(|| {
CannotParseJSON(serde::de::Error::missing_field(
Expand Down

0 comments on commit 7c401d0

Please sign in to comment.