From acd5e289a7a056805c67a8294fcef2c6c84a04d2 Mon Sep 17 00:00:00 2001 From: Serwan Asaad Date: Thu, 7 Mar 2024 09:19:21 +0100 Subject: [PATCH] add connection headers to old octave --- quam/components/octave.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/quam/components/octave.py b/quam/components/octave.py index af0cefd1..dbd96f69 100644 --- a/quam/components/octave.py +++ b/quam/components/octave.py @@ -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 @@ -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