Skip to content

Commit

Permalink
The key needs to be a type not an instance
Browse files Browse the repository at this point in the history
  • Loading branch information
pavoljuhas committed Mar 3, 2025
1 parent c432d4f commit de6a60c
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,18 @@
ops.ResetChannel: 250.0,
ops.PhasedXZGate: 25.0,
ops.FSimGate: 32.0,
ops.ISwapPowGate: 32.0,
ops.CZPowGate: 32.0,
ops.ISwapPowGate: 32.0, ops.CZPowGate: 32.0,
cg_ops.SycamoreGate: 12.0,
# ops.WaitGate is a special case.
}
GATE_PREFIX_PAIRS: Dict[Type['cirq.Gate'], str] = {
cg_ops.SycamoreGate: 'two_qubit_parallel_sycamore_gate',
ops.CZ: 'two_qubit_parallel_cz_gate',
ops.CZPowGate: 'two_qubit_parallel_cz_gate',
ops.ISwapPowGate: 'two_qubit_parallel_sqrt_iswap_gate',
}
GATE_ZPHASE_CODE_PAIRS: Dict[Type['cirq.Gate'], str] = {
cg_ops.SycamoreGate: 'syc',
ops.CZ: 'cz',
ops.CZPowGate: 'cz',
ops.ISwapPowGate: 'sqrt_iswap',
}

Expand Down

0 comments on commit de6a60c

Please sign in to comment.