qblox_scheduler.operations.composite_factories#
A module containing factory functions for composite gates, which are replaced by schedules.
Functions#
|
Generate a |
|
Generate a |
Module Contents#
- hadamard_as_y90z(qubit: str) qblox_scheduler.schedules.schedule.TimeableSchedule[source]#
Generate a
TimeableScheduleY90 * Z (equivalent to a Hadamard gate).- Parameters:
qubit – Device element to which the Hadamard gate is applied.
- Returns:
: TimeableSchedule.
- cnot_as_h_cz_h(control_qubit: str, target_qubit: str) qblox_scheduler.schedules.schedule.TimeableSchedule[source]#
Generate a
TimeableSchedulefor a CNOT gate using a CZ gate interleaved with Hadamard gates on the target qubit.- Parameters:
control_qubit – Qubit acting as the control qubit.
target_qubit – Qubit acting as the target qubit.
- Returns:
TimeableSchedule TimeableSchedule for the CNOT gate.