Information

QBase.InformationModule

Methods for quantifying information and randomness.

Entropy quantifiers are taken with respect to base-2 logarithms. The entropy is understood as the number of bits {0,1} required to communicate a random result with certainty.

source

Entropy

QBase.Information.shannon_entropyFunction
shannon_entropy( probabilities :: QMath.Marginals ) :: Float64

shannon_entropy( probabilities :: Vector{<:Real}) :: Float64

The classical entropy of a probability distribution.

source
QBase.Information.von_neumann_entropyFunction
von_neumann_entropy( ρ :: States.AbstractDensityMatrix ) :: Float64

von_neumann_entropy( ρ :: Matrix{<:Number} ) :: Float64

The von neumann entropy of a density matrix.

source
QBase.Information.joint_entropyFunction
joint_entropy(priors :: QMath.Marginals, conditionals :: QMath.Conditionals) :: Float64

Returns the entropy for the union of pdf $P(x,y)$.

source
QBase.Information.conditional_entropyFunction
conditional_entropy(priors::QMath.Marginals, conditionals::QMath.Conditionals) :: Float64

Returns the conditional entropy for the system with specified priors and conditionals.

source

Information

QBase.Information.holevo_boundFunction
holevo_bound(
    priors :: QMath.Marginals,
    ρ_states :: Vector{<:AbstractDensityMatrix}
) :: Float64

holevo_bound(
    priors :: Vector{<:Real},
    ρ_states :: Vector{Matrix{<:Number}}
) :: Float64

Computes the upper bound of a quantum channel's information capacity. The information shared through a quantum channel cannot exceed a classical channel of the same dimension.

source
QBase.Information.holevo_informationFunction
holevo_information(
    priors :: QMath.Marginals,
    ρ_states :: Vector{<:AbstractDensityMatrix},
    Π :: Observables.AbstractPOVM
) :: Float64

Computes the holevo (mutual) information shared through a quantum channel.

source
QBase.Information.mutual_informationFunction
mutual_information(
    priors :: QMath.Marginals,
    conditionals :: QMath.Conditionals
) :: Float64

The entropy of the overlap between p(x) and p(y). The information shared from y to x.

source

State Discrimination

QBase.Information.success_probabilityFunction
success_probability(
    priors::QMath.Marginals,
    ρ_states::Vector{<:States.AbstractDensityMatrix},
    Π::Observables.AbstractPOVM
) :: Float64

The probability of correctly distinguishing quantum states with the specifed POVM.

source
QBase.Information.error_probabilityFunction
error_probability(
    priors::QMath.Marginals,
    ρ_states::Vector{<:States.AbstractDensityMatrix},
    Π::Observables.AbstractPOVM
) :: Float64

The probability of incorrectly distinguishing quantum states with the specifed POVM.

source