From 97596ca75646591eca67db994f0c784511514424 Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Tue, 13 Aug 2024 14:35:11 +0200 Subject: [PATCH] fix: Rebase leftover --- src/qibolab/compilers/compiler.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/qibolab/compilers/compiler.py b/src/qibolab/compilers/compiler.py index c23308e31..06bbba263 100644 --- a/src/qibolab/compilers/compiler.py +++ b/src/qibolab/compilers/compiler.py @@ -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 @@ -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)