## Examples

### Example 1

This is the default input, in case no input files detected. The waveguide array consists of 15 identical, nearest-neighbour coupled waveguides. $|\psi_0\rangle = |000000020000000\rangle$ (2 photons injectes in the middle of the array). The intensities and correlations are measured at 100 distinct $z$ values in the range of 0-20.

### Example 2

In this example the waveguide array is the default one (identical to that of Example 1). $|\psi_0\rangle = {1 \over \sqrt{2}}|000000110000000\rangle-{1 \over \sqrt{2}}|000000011000000\rangle$. The intensities and correlations are measured at 100 distinct $z$ values in the range of 0-20. At certain $z$ we can see that the most probable measurements will yield 2 photons in the same "half" of the waveguide array.

### Example 3

In this example the waveguide array is also the default one (identical to that of Examples 1 & 2). $|\psi_0\rangle=-{1 \over \sqrt{5}}|000002000000000\rangle-{i \over \sqrt{5}}|000000200000000\rangle+{1 \over \sqrt{5}}|000000020000000\rangle\\+{i \over \sqrt{5}}|000000002000000\rangle-{1 \over \sqrt{5}}|000000000200000\rangle$. The $z$ values were taken in range of 0-6.5 . At certain $z$ we can see that the most probable measurements will yield 2 photons in opposite halves of the waveguide array.

### Example 4

In this Example I generated a random H matrix, which represents highly coupled waveguide array. The initial state $|\psi_0\rangle$ and $z$ values are the same as in example 1.