## Output Files/Formatting

### Terminal Output

Here is an example for the terminal output of a main program run with PSI.txt and H.txt input files which were shown as examples in Input Files/Formatting section and Z.txt file which specifies 3 $z$ values of $0$, $5$ and $10$.

### PROPAGATION_DATA.txt Output File

Here is an example of the "PROPAGATION_DATA.txt" file for $z=10$ and $|\psi_0\rangle$ and $H$ as shown in example in Input Files/Formatting section ($M=5$) -

A similar structure will appear in the file for every z specified for evaluation. At the beginning of this structure you can find the current $z$ value for which the following intensity and correlation values apply. At the "Intensity" data block the first number at each line specifies the index of the waveguide and the second number specifies the average photon number at this waveguide at the specifies $z$ value. At the "Correlations" data block the first 2 numbers specify the indices of waveguides for which the correlation value calculated - the third value at the line - apply. Explicitly, the correlation value descripes the $\Gamma_{q,r}$ which was introduced in relevant Physical Background section. Since the correlations are symmetric in both indices, only the upper left triangle of the correlation matrix $\Gamma$ is written to file (so, for example, the (4,5) correlation value is written to output file, but the (5,4), which has the same value, is not).

### PROPAGATION_VIS.gif Output File

Here is the gif output generated for PSI.txt and H.txt input files which were shown as examples in Input Files/Formatting section and Z.txt file which specify 100 $z$ values equaly spaced in the range of 0-20. (Refresh the page to restart the animation)

© 2016 Alexander Cheplev, Faculty of Physics, Technion

Free CSS Templates by ZyPOP

Last update:20.02.2016