Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

mutual_information

mutual_information(state, d0, d1=None)

GitHub

Compute the mutual information of a bipartite state.

Parameters

  • state (array_like) – a bipartite state-vector or density-matrix.
  • d0 (int) – dimension of the first subsystem.
  • d1 (int or None) – dimension of the second subsystem.

Returns

The mutual information S(rho_A) + S(rho_B) - S(rho_AB).

Return type

float

Was this page helpful?
Report a bug or request content on GitHub.