Skip to content

Commit

Permalink
fix: Rebase leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Aug 13, 2024
1 parent 14f22d2 commit 97596ca
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/qibolab/compilers/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
rz_rule,
z_rule,
)
from qibolab.components import Channel
from qibolab.platform import Platform
from qibolab.pulses import Delay, PulseSequence
from qibolab.qubits import QubitId
Expand Down Expand Up @@ -151,9 +150,6 @@ def compile(
measurement_map = {}
channel_clock = defaultdict(float)

def find_max(channels: list[Channel]):
return max(channel_clock[ch.name] for ch in channels)

def qubit_clock(el: QubitId):
elements = platform.qubits if el in platform.qubits else platform.couplers
return max(channel_clock[ch.name] for ch in elements[el].channels)
Expand Down

0 comments on commit 97596ca

Please sign in to comment.