kosmos.protocols.eg_protocol

Classes

class EGProtocol(config: kosmos.protocols.config.protocol.EGProtocolConfig, 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: kosmos.protocols.protocol.Protocol

Entanglement generation protocol.

This protocol allocates communication qubits at the source and target nodes, then creates entanglement between them based on the quantum link properties.

Initialize the entanglement generation protocol.

Parameters:

Methods

execute() kosmos.protocols.protocol_result.EGProtocolResult

Execute the entanglement generation protocol.

Returns:

Result of the entanglement generation protocol execution.

Return type:

EGProtocolResult