Changes between Version 10 and Version 11 of Density


Ignore:
Timestamp:
Dec 3, 2025, 4:59:25 PM (2 weeks ago)
Author:
Durupt
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Density

    v10 v11  
    5353}}}
    5454
    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.\\
     55With 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.\\
    5656
    5757For the rest of this page, we will use the same import names as in this block of code.
     
    9797bell_test, flag_test = rho_instance.Get_Bell_Test()
    9898}}}
    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`.
     99where `flag_test` is a boolean being `True` if `\lambda_1 + \lambda_2 > 1`.
    100100
    101101=== D coefficients