Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add connection headers to old octave #17

Merged
merged 1 commit into from
Mar 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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