Consider two quantum states states described via the density operators and . Then the composite state describing the total system is described via the tensor product

This operation between finite and discrete matrices is also called the Kronecker product.

Let us build a separable composite density matrix "by hand." Using np.kron or otherwise, complete the function below that returns the density matrix describing a composite system, given the density matrices rho and sigma that describe the individual systems.

or to submit your code

To interact with codercises, please switch to a larger screen size.

Learning Objectives:

  • Understand and predict the behavior of a subsystem in a composite quantum system.
  • Compute the reduced state via the partial trace operation.
  • Use the purification theorem to map a mixed state into a pure state.