Good day,
Homework Statement
I want to make a measurement on qubit by using formula von Neumann entropy using Mathematica given as below;
Homework Equations
(ρ)=−Tr(ρlog2ρ)
The Attempt at a Solution
The
ρ={{0.5,0},{0,0.5}}My problem is, when I make the
log2{{0.5,0},{0,0.5}}
I get the...