qibosoq package¶
qibosoq module.
Subpackages¶
- qibosoq.components package
- qibosoq.programs package
- Submodules
- qibosoq.programs.base module
BaseProgram
BaseProgram.declare_nqz_zones()
BaseProgram.declare_readout_freq()
BaseProgram.add_pulse_to_register()
BaseProgram.execute_drive_pulse()
BaseProgram.execute_readout_pulse()
BaseProgram.perform_experiment()
BaseProgram.collect_shots()
BaseProgram.declare_gen_mux_ro()
BaseProgram.add_muxed_readout_to_register()
BaseProgram.group_mux_ro()
BaseProgram.initialize()
- qibosoq.programs.flux module
- qibosoq.programs.pulse_sequence module
- qibosoq.programs.sweepers module
Submodules¶
qibosoq.client module¶
Collection of helper functions for qibosoq clients.
- exception qibosoq.client.QibosoqError[source]¶
Bases:
RuntimeError
Exception raised when qibosoq server encounters an error.
Attributes: message – The error message received from the server (qibosoq)
- exception qibosoq.client.RuntimeLoopError[source]¶
Bases:
QibosoqError
Exception raised when qibosoq server encounters a readout loop error.
Attributes: message – The error message received from the server (qibosoq)
- exception qibosoq.client.BufferLengthError[source]¶
Bases:
QibosoqError
Exception raised when qibosoq server tries to allocate too large pulses.
Attributes: message – The error message received from the server (qibosoq)
- qibosoq.client.connect(server_commands: dict, host: str, port: int) Tuple[list, list] [source]¶
Open a connection with the server and executes the commands.
qibosoq.configuration module¶
Qibosoq configuration file.
- qibosoq.configuration.from_env(name, default=None)[source]¶
Get the value of a QIBOSOQ environment variable.
- qibosoq.configuration.HOST = '192.168.0.81'¶
Server address.
- qibosoq.configuration.PORT = 6000¶
Port of the server.
- qibosoq.configuration.MAIN_LOGGER_FILE = '/home/xilinx/logs/qibosoq.log'¶
Main logger file.
- qibosoq.configuration.MAIN_LOGGER_NAME = 'qibosoq_logger'¶
Main logger name.
- qibosoq.configuration.PROGRAM_LOGGER_FILE = '/home/xilinx/logs/program.log'¶
Program logger file.
- qibosoq.configuration.PROGRAM_LOGGER_NAME = 'qick_program'¶
Program logger name.
- qibosoq.configuration.QICKSOC_LOCATION = '/home/xilinx/jupyter_notebooks/qick_111_rfbv1_mux.bit'¶
Path of the qick bitstream to load.
- qibosoq.configuration.IS_MULTIPLEXED = True¶
Whether the readout is multiplexed or not.
qibosoq.log module¶
Loggers configuration.
qibosoq.server module¶
Qibosoq server for qibolab-qick integration.
- qibosoq.server.load_elements(list_sequence: List[Dict]) List[Element] [source]¶
Convert a list of elements in dict form to a list of Pulse objects.
- qibosoq.server.load_sweeps(list_sweepers: List[Dict]) List[Sweeper] [source]¶
Convert a list of sweepers (in dict form) to a list of Sweeper objects.
- qibosoq.server.execute_program(data: dict, qick_soc: qick.QickSoc) dict [source]¶
Create and execute qick programs.
- Returns:
dictionary with two keys (i, q) to lists of values
- Return type:
(dict)
- class qibosoq.server.ConnectionHandler(request, client_address, server)[source]¶
Bases:
BaseRequestHandler
Handle requests to the server.