Shortcuts

qiskit.quantum_info.entanglement_of_formation

entanglement_of_formation(state)[소스]

Calculate the entanglement of formation of quantum state.

The input quantum state must be either a bipartite state vector, or a 2-qubit density matrix.

매개변수

state (Statevector or DensityMatrix) – a 2-qubit quantum state.

반환값

The entanglement of formation.

반환 형식

float

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

  • QiskitError – if input is not a bipartite QuantumState.

  • QiskitError – if density matrix input is not a 2-qubit state.

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