https://github.com/karldray/quantum