picos.expressions.exp_quantcondentr¶
Implements QuantumConditionalEntropy
.
Classes
- class picos.expressions.exp_quantcondentr.QuantumConditionalEntropy(X, subsystems, dimensions=2)[source]¶
Bases:
Expression
Quantum conditional entropy of an affine expression.
- Definition
Let
be an
-dimensional symmetric or hermitian matrix. Then this is defined as
where
is the quantum entropy, and
denotes the partial trace with respect to the
-th subsystem.
Warning
When you pose a lower bound on this expression, then PICOS enforces
through an auxiliary constraint during solution search.
- __init__(X, subsystems, dimensions=2)[source]¶
Construct an
QuantumConditionalEntropy
.- 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 shall be traced 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.
- property X¶
The expression
.
- property dimensions¶
The dimensions of the subsystems of
.
- property subsystems¶
The subsystems being traced out of
.