def apply(self, *qubits):
    'Applies the CirqOperation.\n\n        Args:\n            *qubits (Cirq:Qid): the qubits on which the Cirq gates should be performed.\n        '
    if (not self.parametrized_cirq_gates):
        raise qml.DeviceError('CirqOperation must be parametrized before it can be applied.')
    return (parametrized_gate(*qubits) for parametrized_gate in self.parametrized_cirq_gates)
Applies the CirqOperation.

Args:
    *qubits (Cirq:Qid): the qubits on which the Cirq gates should be performed.
def apply(self, *qubits):
    'Applies the CirqOperation.\n\n        Args:\n            *qubits (Cirq:Qid): the qubits on which the Cirq gates should be performed.\n        '
    if (not self.parametrized_cirq_gates):
        raise qml.DeviceError('CirqOperation must be parametrized before it can be applied.')
    return (parametrized_gate(*qubits) for parametrized_gate in self.parametrized_cirq_gates)