:py:mod:`kosmos.protocols.remote_operation_protocol` ==================================================== .. py:module:: kosmos.protocols.remote_operation_protocol Classes ------- .. py:class:: RemoteOperationProtocol(config: kosmos.protocols.config.protocol.RemoteOperationProtocolConfig, network: kosmos.topology.net.Network, quantum_manager: kosmos.quantum_logic.quantum_register_manager.QuantumRegisterManager, source_node: kosmos.topology.node.QuantumNode, target_node: kosmos.topology.node.QuantumNode) Bases: :py:class:`kosmos.protocols.protocol.Protocol` Remote CNOT Protocol. Takes an entanglement link between the two specified nodes and increases the global clock by the estimated time. .. attribute:: quantum_manager The quantum register manager. :type: QuantumRegisterManager .. attribute:: source_node The source node. :type: QuantumNode .. attribute:: target_node The target node. :type: QuantumNode Initialize the entanglement generation protocol. :param config: Entanglement generation protocol configuration. :type config: RemoteOperationProtocolConfig :param network: The network topology. :type network: Network :param quantum_manager: The quantum register manager. :type quantum_manager: QuantumRegisterManager :param source_node: The source node. :type source_node: QuantumNode :param target_node: The target node. :type target_node: QuantumNode | .. rubric:: Methods .. py:method:: execute() -> kosmos.protocols.protocol_result.CommunicationProtocolResult Execute remote CNOT protocol. :returns: Result of the remote CNOT protocol. :rtype: CommunicationProtocolResult