kosmos.quantum_logic.qubit¶
Classes¶
- class Qubit(qid: QubitId, node: kosmos.topology.node.QuantumNode, qubit_type: QubitType)¶
Representation of a physical qubit in the network.
Initialize with input validation.
- Parameters:
qid (QubitId) – Unique qubit identifier.
node (QuantumNode) – The quantum node where this qubit is located.
qubit_type (QubitType) – Type of the qubit.
Properties
- property qid¶
Qubit ID (read-only).
- property node¶
Qubit’s node.
- property qubit_type¶
Qubit’s type.