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.Protocol

Remote 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:

QuantumRegisterManager

source_node

The source node.

Type:

QuantumNode

target_node

The target node.

Type:

QuantumNode

Initialize the entanglement generation protocol.

Parameters:

Methods

execute() kosmos.protocols.protocol_result.CommunicationProtocolResult[source]

Execute remote CNOT protocol.

Returns:

Result of the remote CNOT protocol.

Return type:

CommunicationProtocolResult