pygpe.spintwo.wavefunction.SpinTwoWavefunction.add_noise#
- SpinTwoWavefunction.add_noise(components, mean, std_dev)#
- Adds noise to the specified wavefunction components using a normal distribution. - Parameters:
- components – “all”, “plus2”, “plus1”, “zero”, “minus1”, “minus2” or list of strings specifying the components to add noise to. 
- mean – The mean of the normal distribution. 
- std_dev – The standard deviation of the normal distribution.