PhyslibAlpha.ProbabilisticTheory.Effect.Complement
Complementary effects
i. Overview
The complement of an effect `e` is the yes/no test that fires exactly when `e` doesn't: `1 - e`. Physically, a state's probability of "no" is always `1` minus its probability of "yes".
ii. Key results
- `Effect.complement` : the complementary effect `1 - e`.
- `Effect.complement_antitone` : the complement reverses order.
- `Effect.complement_mix` : the complement of a mixture is the mixture of the complements.
iii. Table of contents
- A. The complement
- B. Monotonicity of the complement
- C. The complement and mixtures
A. The complement
B. Monotonicity of the complement
C. The complement and mixtures
6 declarations
Complementary effect
Given an effect in the order interval of a partially ordered type with zero and unit elements, the complement of is the effect defined as . Physically, if represents the probability of a "yes" outcome in a test, its complement represents the probability of the "no" outcome.
The double complement of an effect is
Let be a partially ordered type with a zero element and a unit element . For any effect in the order interval , the complement of the complement of is equal to . That is, . In physical terms, taking the "no" test of a "no" test returns the original "yes" test.
for effects
Let be an ordered additive commutative group with a unit element . For any two effects (defined as elements satisfying ), the complement operation reverses the order. That is, if , then .
For the set of effects defined on the order interval in a partially ordered type , the complement of the zero effect is the unit effect .
In the context of probabilistic theories, let the set of effects be the order interval in a partially ordered type . The complement of the unit effect is the zero effect .
Complement of a Mixture Equals the Mixture of Complements
Let be a partially ordered additive commutative group with a unit element . For any effects (where an effect is an element in the interval ) and any in the unit interval , taking the complement commutes with the mixing operation. Specifically, the complement of the mixture of and with weight is equal to the mixture of the complements of and with the same weight :
