PanPalitta / phase_estimation

This project apply reinforcement learning algorithms based on DE and PSO to optimize adaptive quantum-phase estimation.
http://panpalitta.github.io/phase_estimation/
GNU General Public License v3.0
9 stars 5 forks source link

Simplify RNG classes #27

Closed peterwittek closed 8 years ago

peterwittek commented 8 years ago

Currently the RNG classes combine uniform and Gaussian random number generators, each with a separate buffer. We could split them, with a parameter controlling whether the RNG is uniform or Gaussian. This can be done once #26 is closed, because then we will be able to remove the separate Gaussian RNG currently used in the optimization classes.

peterwittek commented 8 years ago

Commit 3441212f3ef216ba8900e13940fad3708aabe95c solves it.