New answers tagged

1

Can someone provide an example of a state $\rho_{AB}$ for which $\sigma^\star_B \neq \rho_B$? Why not start very easily, with a separable state such as $$ \rho_{AB}=\left(p_0|0\rangle\langle 0|\otimes \tau_0+p_1|1\rangle\langle 1|\otimes \tau_1\right) $$ where $\tau_0$ and $\tau_1$ are different (normalised) single-qubit density matrices. We have that $$ I=\...


2

Short answer You are getting that error because your example does not use a valid (normalized) statevector. If you remove the decimals=3 kwarg where you call result.get_statevector it will work. Long Answer The Von-Neuman entropy function in the qiskit.quantum_info works with either Statevector or DensityMatrix object inputs, or inputs that can be ...


Top 50 recent answers are included