Shortcuts

qiskit.quantum_info.entropy

entropy(state, base=2)[ソース]

Calculate the von-Neumann entropy of a quantum state.

The entropy \(S\) is given by

\[S(\rho) = - Tr[\rho \log(\rho)]\]
パラメータ
戻り値

The von-Neumann entropy S(rho).

戻り値の型

float

例外

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

表示 lang: Japanese
言語
English
Japanese
German
Korean