Skip to content

Commit

Permalink
fix: Tiny dummy platform simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Aug 13, 2024
1 parent 6a8354f commit a072cd5
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions src/qibolab/dummy/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,11 @@ def create_dummy():
acquisition_name, twpa_pump=twpa_pump.name, probe=probe_name
)

drive_name = f"qubit_{q}/drive"
qubit.drive = IqChannel(drive_name, mixer=None, lo=None, acquisition=None)

drive_12_name = f"qubit_{q}/drive12"
qubit.drive12 = IqChannel(drive_12_name, mixer=None, lo=None, acquisition=None)

flux_name = f"qubit_{q}/flux"
qubit.flux = DcChannel(flux_name)
qubit.drive = IqChannel(f"qubit_{q}/drive", mixer=None, lo=None)
qubit.drive12 = IqChannel(f"qubit_{q}/drive12", mixer=None, lo=None)
qubit.flux = DcChannel(f"qubit_{q}/flux")

for c, coupler in platform.couplers.items():
flux_name = f"coupler_{c}/flux"
coupler.flux = DcChannel(flux_name)
coupler.flux = DcChannel(f"coupler_{c}/flux")

return platform

0 comments on commit a072cd5

Please sign in to comment.