Shortcuts

qiskit.quantum_info.mutual_information

mutual_information(state, base=2)[소스]

Calculate the mutual information of a bipartite state.

The mutual information \(I\) is given by:

\[I(\rho_{AB}) = S(\rho_A) + S(\rho_B) - S(\rho_{AB})\]

where \(\rho_A=Tr_B[\rho_{AB}], \rho_B=Tr_A[\rho_{AB}]\), are the reduced density matrices of the bipartite state \(\rho_{AB}\).

매개변수
반환값

The mutual information \(I(\rho_{AB})\).

반환 형식

float

예외
  • QiskitError – if the input state is not a valid QuantumState.

  • QiskitError – if input is not a bipartite QuantumState.

당신은 다음 언어로 문서를 보고 있다 lang: Korean
언어
English
Japanese
German
Korean