Open rajaiitp opened 8 months ago
@rajaiitp Could you please be more specific about the mathematical formulation of these ? Thanks.
$PT{ij}(\rho{ijkl}) = tr{ij}(\rho{ijkl}) =\sum{i=(0,1),j=(0,1)}\rho{ijkl}$
Von-Neuman Entropy of density matrix $Entropy = - tr(\rho log \rho)$ trace over all qubit indices.
Fidelity between 2 density matrices $\rho, \sigma$: $Fidelity(\rho,\sigma) = (tr(\sqrt{\sqrt{\rho}\sigma \sqrt{\sigma}}))^2$
here sqrt is defined as diagonalize, sqrt and undiagonalize
Hey @rajaiitp could you please make sure the formulae above are correct ? Thanks.
In my opinion, this could go with the introduction of a Result
type.
@Roland-djee yes the formulae above are correct, just edited some brackets, didnt know we had support for latex on here. I dont know what a Result type is
@Roland-djee yes the formulae above are correct, just edited some brackets, didnt know we had support for latex on here. I dont know what a Result type is
Yeah no worries, it is just an idea for us internally to handle what you suggested.
This should be added to backend utils - and should be resolved in qadence 2. Refinement on implementation details is needed.
@rajaiitp Can you help us define the priority of this issue? Is it needed urgently?
Rarely used. Its just a property of the state that sometimes people care to look into. (probably used once or twice so far at best)
It would nice to have basic density matrix related functionalities that are part of basic quantum information theory computations (partial trace, entropy, fidelity, purity..)