Skip to content

Commit

Permalink
fix: Replace pulse creation in extra test
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Apr 22, 2024
1 parent 6b08cb7 commit 7f412cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions extras/test819.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from dataclasses import replace

import numpy as np
from qibo.backends import GlobalBackend

Expand All @@ -23,8 +25,8 @@
qubit = platform.qubits[qid]
qubits = {qid: qubit}

ro_pulse = platform.create_qubit_readout_pulse(qid, start=0)
ro_pulse.frequency = int(2e9)
native = platform.qubits[0].native_gates.MZ
ro_pulse = replace(native, channel=qubit.readout.name, frequency=2e9)
sequence.add(ro_pulse)

freq_width = 2e7
Expand Down

0 comments on commit 7f412cf

Please sign in to comment.