Changes between Version 7 and Version 8 of Density
- Timestamp:
- Oct 24, 2025, 12:00:01 PM (5 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Density
v7 v8 24 24 The user is then asked to edit the different cards needed for the run. The information for the density matrices computation is given in the reweight_card. Examples for different benchmark processes are given in https://arxiv.org/abs/2510.17730. At the end of the run, the density matrix for each event is written in the Les Houches Event (LHE) file. 25 25 26 == How to read the density matrices in the LHE file26 == How to read the density matrices in the LHE file 27 27 The LHE file can be read with the parser lhe_parser.py available in MadGraph. An example of code that would parse the density matrix value for each event is: 28 28 29 {{{ 29 {{{#!python 30 30 import sys 31 31 sys.path.append('PATH TO MADGRAPH') … … 42 42 With this code, for each event of the file, you read the value `density` which contains the independent coefficients of the density matrix. The utility function `square_matrix` allows to write it in the usual matrix form needed for further analysis. 43 43 44 == Implementation of the quantum information obseravbles 45 Now that we have the density matrices for each event, we can compute any quantum information observable that we want. The library `Density_functions.py` contains a non-exaustive list of them that will be listed here and that can be called (example of the concurrence here) via. 46 {{{#!python 47 dens.Get_Concurrence(density) 48 }}} 49 We will now give a list of the different quantum information observables currently available in the library. 50 For more physical and more detailed descriptions of the observables, read https://arxiv.org/abs/2510.17730. 51 52 === Purity 53 54 === Concurrence 55 56 === Bell test 57 58 === D coefficients 59 60 === Entanglement of formation 61 62 === Magic 63 64 === Negativity 65 66 === Mana 67 68 === Peres-Horodecki criterion 69 70 === Trace distance 71 72 === Fidelity distance 73
