Channels
– Simulating realistic quantum channels¶
-
class
squanch.channels.
QChannel
(from_agent, to_agent, length=0.0, errors=())[source]¶ Bases:
object
Base class for a quantum channel connecting two agents
-
__init__
(from_agent, to_agent, length=0.0, errors=())[source]¶ Instantiate the quantum channel
Parameters:
-
__weakref__
¶ list of weak references to the object (if defined)
-
-
class
squanch.channels.
CChannel
(from_agent, to_agent, length=0.0)[source]¶ Bases:
object
Base class for a classical channel connecting two agents
-
__weakref__
¶ list of weak references to the object (if defined)
-
-
class
squanch.channels.
FiberOpticQChannel
(from_agent, to_agent, length=0.0)[source]¶ Bases:
squanch.channels.QChannel
Represents a fiber optic line with attenuation errors