The command below calculates the trace distance between the two
matrices
and
read from respective files of fileA and
fileB saved by the ``msave'' command (or ``RDOsave'' etc.).
trdist(fileA, fileB);
The trace distance between (N,N) density matrices
and
is defined by
root
2004-11-07