Korean
언어
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.aqua.utils.get_subsystem_density_matrix

get_subsystem_density_matrix(statevector, trace_systems)[소스]

Compute the reduced density matrix of a quantum subsystem.

매개변수
  • statevector (list|array) – The state vector of the complete system

  • trace_systems (list|range) – The indices of the qubits to be traced out.

반환값

The reduced density matrix for the desired subsystem

반환 형식

numpy.ndarray