Changes between Version 10 and Version 11 of Density
- Timestamp:
- Dec 3, 2025, 4:59:25 PM (2 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Density
v10 v11 53 53 }}} 54 54 55 With this code, for each event of the file, you read the value `density` which contains the independent coefficients of the density matrix. With this value of the density matrix, the class `DensityMatrixObservables` is instanciated. Different kind of observables and utility method are given to simplify analyses. For instance the method `square_matrix` transforms the density matrix in the usual square form that is easier to read.\\55 With this code, for each event of the file, you read the value `density` which contains the independent coefficients of the density matrix. With this value of the density matrix, the class `DensityMatrixObservables` is instanciated. Different kind of observables and utility methods are given to simplify analyses. For instance the method `square_matrix` transforms the density matrix in the usual square form that is easier to read.\\ 56 56 57 57 For the rest of this page, we will use the same import names as in this block of code. … … 97 97 bell_test, flag_test = rho_instance.Get_Bell_Test() 98 98 }}} 99 where ` CTC` is the product of the transposed spin correlation matrix with the spin correlation matrix and `flag_test` is a boolean being `True` if `\lambda_1 + \lambda_2 > 1`.99 where `flag_test` is a boolean being `True` if `\lambda_1 + \lambda_2 > 1`. 100 100 101 101 === D coefficients
