negativity {RQEntangle} | R Documentation |
Calculate the negativity given the calculate Schmidt modes.
negativity(modes)
modes |
Schmidt modes |
negativity
singlet<- matrix(c(0, sqrt(0.7), sqrt(0.3), 0), byrow = TRUE, nrow = 2) modes<- schmidt.decompose(singlet) negativity(modes)