qblox_scheduler.device_under_test.spin_edge#
The module provides classes related CZ operations.
Classes#
Submodule containing the ports. |
|
Submodule containing parameters for performing a SpinInit operation. |
|
Submodule containing parameters for performing a CZ operation. |
|
Submodule containing parameters for performing a CNOT operation. |
|
Spin edge implementation which connects two BasicSpinElements. |
Module Contents#
- class PortSpinEdge(/, name, *, parent: SchedulerBaseModel | None = None, **data: Any)[source]#
Bases:
qblox_scheduler.structure.model.SchedulerSubmoduleSubmodule containing the ports.
- class SpinInit(/, name, *, parent: SchedulerBaseModel | None = None, **data: Any)[source]#
Bases:
qblox_scheduler.structure.model.SchedulerSubmoduleSubmodule containing parameters for performing a SpinInit operation.
- class CZ(/, name, *, parent: SchedulerBaseModel | None = None, **data: Any)[source]#
Bases:
qblox_scheduler.structure.model.SchedulerSubmoduleSubmodule containing parameters for performing a CZ operation.
- class CNOT(/, name, *, parent: SchedulerBaseModel | None = None, **data: Any)[source]#
Bases:
qblox_scheduler.structure.model.SchedulerSubmoduleSubmodule containing parameters for performing a CNOT operation.
- class SpinEdge(parent_element: qblox_scheduler.device_under_test.device_element.DeviceElement | str | None = None, child_element: qblox_scheduler.device_under_test.device_element.DeviceElement | str | None = None, **data: Any)[source]#
Bases:
qblox_scheduler.device_under_test.edge.EdgeSpin edge implementation which connects two BasicSpinElements.
This edge implements some operations between the two BasicSpinElements.
- _parent_device_element: qblox_scheduler.device_under_test.spin_element.BasicSpinElement | None = None[source]#
- _child_device_element: qblox_scheduler.device_under_test.spin_element.BasicSpinElement | None = None[source]#
- ports: PortSpinEdge[source]#
- generate_edge_config() dict[str, dict[str, qblox_scheduler.backends.graph_compilation.OperationCompilationConfig]][source]#
Generate valid device config.
Fills in the edges information to produce a valid device config for the qblox-scheduler making use of the
compile_circuit_to_device_with_config_validation()function.