qblox_scheduler.operations.composite_factories#

A module containing factory functions for composite gates, which are replaced by schedules.

Functions#

hadamard_as_y90z(...)

Generate a TimeableSchedule Y90 * Z

cnot_as_h_cz_h(...)

Generate a TimeableSchedule for a CNOT gate using a CZ gate

Module Contents#

hadamard_as_y90z(qubit: str) qblox_scheduler.schedules.schedule.TimeableSchedule[source]#

Generate a TimeableSchedule Y90 * 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 TimeableSchedule for 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.