composite_factories =================== .. py:module:: quantify_scheduler.operations.composite_factories .. autoapi-nested-parse:: A module containing factory functions for composite gates, which are replaced by schedules. Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: quantify_scheduler.operations.composite_factories.hadamard_as_y90z quantify_scheduler.operations.composite_factories.cnot_as_h_cz_h .. py:function:: hadamard_as_y90z(qubit: str) -> quantify_scheduler.schedules.schedule.Schedule Generate a :class:`~.schedules.schedule.Schedule` Y90 * Z (equivalent to a Hadamard gate). :param qubit: Qubit to which the Hadamard gate is applied. :returns: Schedule. .. py:function:: cnot_as_h_cz_h(control_qubit: str, target_qubit: str) -> quantify_scheduler.schedules.schedule.Schedule Generate a :class:`~.schedules.schedule.Schedule` for a CNOT gate using a CZ gate interleaved with Hadamard gates on the target qubit. :param control_qubit: Qubit acting as the control qubit. :param target_qubit: Qubit acting as the target qubit. :returns: Schedule for the CNOT gate. :rtype: Schedule