Skip to content

Commit

Permalink
ref: change pairs name
Browse files Browse the repository at this point in the history
  • Loading branch information
Edoardo-Pedicillo committed Feb 14, 2025
1 parent 2d6d8ce commit 2ae7fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qibocal/auto/transpile.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ def get_natives(platform):
This function assumes the native gates to be the same for each
qubit and pair.
"""
pairs = next(iter(platform.pairs.values()))
pair = next(iter(platform.pairs.values()))
qubit = next(iter(platform.qubits.values()))
two_qubit_natives = list(pairs.native_gates.raw)
two_qubit_natives = list(pair.native_gates.raw)
single_qubit_natives = list(qubit.native_gates.raw)
# Solve Qibo-Qibolab mismatch
single_qubit_natives.append("RZ")
Expand Down

0 comments on commit 2ae7fde

Please sign in to comment.