Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

I Javascript library for QM calculations

  1. Apr 1, 2017 #1
    Does anyone know of a good library in javascript that would help to develop technically accurate animations? I know there is stuff in python, but I'd like things to happen in the browser.

    Apart from linear algebra with complex valued matrices and vectors, I'd like to have things like numerical integration with operators inside the integrand, e.g.
    ##\int d\omega~f(\omega)~a^\dagger(\omega) ~|\psi\rangle##

    Come to think of it, how would one actually represent that result in numbers?
    Anyway, finally I would need to calculate expectation values based on that kind of integral, after applying some measurement operator to it.

    Another thing on my wish list would be to generate random samples according to a distribution function.
  2. jcsd
  3. Apr 2, 2017 #2


    Staff: Mentor

  4. Apr 2, 2017 #3
    Thank you --- I will look at these two resources.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted