Skip to content

Commit

Permalink
add connection headers to old octave
Browse files Browse the repository at this point in the history
  • Loading branch information
nulinspiratie committed Mar 7, 2024
1 parent 6894759 commit acd5e28
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion quam/components/octave.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class OctaveOld(QuamComponent):
port: int
qmm_host: str
qmm_port: int
connection_headers: Dict[str, str] = None

calibration_db: str = None

Expand All @@ -49,7 +50,10 @@ def _initialize_config(self):

def _initialize_qm(self) -> QuantumMachine:
qmm = QuantumMachinesManager(
host=self.qmm_host, port=self.qmm_port, octave=self.octave_config
host=self.qmm_host,
port=self.qmm_port,
octave=self.octave_config,
connection_headers=self.connection_headers
)
qm = qmm.open_qm(self._root.generate_config())
return qm
Expand Down

0 comments on commit acd5e28

Please sign in to comment.