composite_factories#
A module containing factory functions for composite gates, which are replaced by schedules.
Module Contents#
Functions#
| 
 | Generate a  | 
| 
 | Generate a  | 
- hadamard_as_y90z(qubit: str) quantify_scheduler.schedules.schedule.Schedule[source]#
- Generate a - ScheduleY90 * Z (equivalent to a Hadamard gate).- Parameters:
- qubit – Device element to which the Hadamard gate is applied. 
- Returns:
- Schedule. 
 
- cnot_as_h_cz_h(control_qubit: str, target_qubit: str) quantify_scheduler.schedules.schedule.Schedule[source]#
- Generate a - Schedulefor 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:
- Schedule for the CNOT gate. 
- Return type: