qpu_node module¶
- class qpu_node.QPUNode(qnode_id, ideal_qpu, qbit_count=3)[source]¶
Bases:
NodeRepresents an entity (i.e. the legendary Alice and Bob) with a quantum processing unit (QPU) with a program queue and callback functionality. If a program needs to be executed it should be added to the queue using the add_program method.
Qubit mapping: 0 - Emission qubit 1 - Communications qubit, entangled with emission qubit 2 - Shielded qubit, used for storing & distilling entanglement
- Parameters:
qbit_count (int, optional) – Number of qubits in the processor, by default 2.
depolar_rate (float, optional) – Depolarization rate for the noise model, by default 0.