kosmos.protocols.remote_operation_protocol¶
Classes¶
- 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)[source]¶
Bases:
kosmos.protocols.protocol.ProtocolRemote CNOT Protocol.
Takes an entanglement link between the two specified nodes and increases the global clock by the estimated time.
- quantum_manager¶
The quantum register manager.
- Type:
- source_node¶
The source node.
- Type:
- target_node¶
The target node.
- Type:
Initialize the entanglement generation protocol.
- Parameters:
config (RemoteOperationProtocolConfig) – Entanglement generation protocol configuration.
network (Network) – The network topology.
quantum_manager (QuantumRegisterManager) – The quantum register manager.
source_node (QuantumNode) – The source node.
target_node (QuantumNode) – The target node.
Methods
- execute() kosmos.protocols.protocol_result.CommunicationProtocolResult[source]¶
Execute remote CNOT protocol.
- Returns:
Result of the remote CNOT protocol.
- Return type: