qkd_key_rate.base.receiver module
Base class for Receiving party.
- class qkd_key_rate.base.receiver.ReceiverBase(message, permutations, name=None)[source]
Bases:
SenderBase
This class encodes all functions only available to the receiver.
The receiver is assumed to have a string with errors and is thus assumed to correct the errors.
- __init__(message, permutations, name=None)[source]
- Parameters:
message (
Message
) – Input message of the sender partypermutations (
Permutations
) – List containing permutations for each passname (
Optional
[str
]) – Name of the sender party