Skip to content

Commit

Permalink
Merge pull request #17 from qua-platform/fix/octave-old-connection-he…
Browse files Browse the repository at this point in the history
…aders

add connection headers to old octave
  • Loading branch information
nulinspiratie authored Mar 7, 2024
2 parents 6894759 + acd5e28 commit 3d9ea52
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 3d9ea52

Please sign in to comment.