:py:mod:`kosmos.quantum_logic.entanglement_link` ================================================ .. py:module:: kosmos.quantum_logic.entanglement_link Module Attributes ----------------- .. py:data:: MINIMUM_ENTANGLEMENT_QUBITS :value: 2 Classes ------- .. py:class:: EntanglementLink(qubits: list[kosmos.quantum_logic.qubit.QubitId], creation_time: int) Metadata about an entangled connection between qubits. Initialize with input validation. :param qubits: List of qubits participating in the entangled state. :type qubits: list[QubitId] :param creation_time: Timestamp when the entanglement was created. :type creation_time: int | .. rubric:: Properties .. py:property:: creation_time Creation time of an Entanglement Link. .. py:property:: qubits Qubits related with this entanglement link. | .. rubric:: Methods .. py:method:: remove_qubit(qubit: kosmos.quantum_logic.qubit.QubitId) -> None Remove qubit from entanglement. :param qubit: Qubit to be removed. :type qubit: Qubit .. py:method:: append_qubit(new_qubit: kosmos.quantum_logic.qubit.QubitId) -> None Append qubit to entanglement. :param new_qubit: Qubit to be added. :type new_qubit: QubitId