niall54 / Quantum-Photonics

Relevant code for my Quantum Photonics Work
1 stars 1 forks source link

Noise matrix #2

Open MW27 opened 3 years ago

MW27 commented 3 years ago

Forgot to mention: also changed definition of noise matrix to make its elements \sqrt(2\kappa).

niall54 commented 3 years ago
    self.D = np.eye(self.N) * np.sqrt(self.LLE_Soln.dw0) # Noise matrix

Have you? It doesn't look like here...

niall54 commented 3 years ago

https://github.com/niall54/Quantum-Photonics/blob/feb95f477ae98a658ec3737492c1bad3b64c0d15/quantumFluctuations.py#L161

sorry - now link to the code

niall54 commented 3 years ago

Ahh I also don't think we need to do this?.. <n_i n_j + n_j n_i> should have the elements of n squared, so it'll get rid of the square root..