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: Korean
언어
English
Japanese
German
Korean