picos.expressions.exp_quantkeydist¶
Implements QuantumKeyDistribution
.
Classes
- class picos.expressions.exp_quantkeydist.QuantumKeyDistribution(X, subsystems=0, dimensions=2, K_list=None)[source]¶
Bases:
Expression
Slice of quantum relative entropy used to compute quantum key rates.
- Definition
Let
be an
-dimensional symmetric or hermitian matrix. Let
be the pinching map which maps off-diagonal blocks of a given block structure to zero, i.e., for a bipartite state
where
if we block- diagonalize over the first subsystem, and
if we block-diagonalize over the second subsystem. We also generalize this definition to multipartite systems where we block- diagonalize over any number of subsystems.
In general, this is the expression
where
is the quantum entropy,
is a positive linear map given by Kraus operators
If
K_list=None
, thenis assumed to be the identity map, and then this expression is simplified to
Warning
When you pose an upper bound on this expression, then PICOS enforces
through an auxiliary constraint during solution search.
- __init__(X, subsystems=0, dimensions=2, K_list=None)[source]¶
Construct an
QuantumKeyDistribution
.- Parameters
X (AffineExpression) – The affine expression
.
subsystems (int or tuple or list) – A collection of or a single subystem number, indexed from zero, corresponding to subsystems that will be block- diagonalized over. The value
refers to the last subsystem.
dimensions (int or tuple or list) – Either an integer
so that the subsystems are assumed to be all of shape
, or a sequence of subsystem shapes where an integer
within the sequence is read as
. In any case, the elementwise product over all subsystem shapes must equal the expression’s shape.
K_list (None or list(numpy.ndarray)) – A list of Kraus operators representing the linear map
. If
K_list=None
, thenis defined as the identity map.
- property K_list¶
The Kraus operators
of
.
- property X¶
The expression
.
- property Z_list¶
The Kraus operators
of
.
- property dimensions¶
The dimensions of the subsystems of
.
- property subsystems¶
The subsystems being block-diagonalized of
.