Calculating qubit purity/entanglement in a quantum computer

  • Context: Undergrad 
  • Thread starter Thread starter Bob Walance
  • Start date Start date
  • Tags Tags
    Entanglement Qubit
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
0 replies · 2K views
Bob Walance
Insights Author
Gold Member
Messages
84
Reaction score
55
I had written a simulator for a quantum computer and wanted to be able to calculate the values of the "purity of reduced states".

"Purity of reduced states" is a quantity that IBM provides on their simulator for each qubit. They used to call it "entanglement", and I believe that the two terms are synonymous since all of the qubits in a quantum computer start out in a pure state.

After struggling to find examples for how to calculate these purity/entanglement values for each qubit, I did finally figure it out. Attached is a document describing how to do this. The values calculated with this method jibe with IBM's simulator for various quantum circuits including simple one-qubit gates, CNOT gates, Toffoli gates, and various combinations of those.

Perhaps someone will find this useful.
 

Attachments