Skip to content

Commit

Permalink
moved octave_sdk import
Browse files Browse the repository at this point in the history
  • Loading branch information
nulinspiratie committed Mar 7, 2024
1 parent 5364c4d commit 3392658
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions quam/components/octave.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@

from qm import QuantumMachinesManager
from qm import QuantumMachine
from qm.octave import QmOctaveConfig
from qm.octave.qm_octave import QmOctave

from octave_sdk import RFInputLOSource
from qm.octave import QmOctaveConfig, RFOutputMode, ClockType
from qm.octave.qm_octave import QmOctave


__all__ = [
Expand Down Expand Up @@ -267,6 +264,8 @@ def get_portmap(self):
return portmap

def configure_octave_settings(self):
from octave_sdk import RFInputLOSource

self.octave.set_clock(self.name, ClockType.Internal)
for qe in self._channel_to_qe.values():
self.octave.set_rf_output_mode(qe, RFOutputMode.on)
Expand Down

0 comments on commit 3392658

Please sign in to comment.