# I Javascript library for QM calculations

1. Apr 1, 2017

### Swamp Thing

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. Apr 2, 2017

3. Apr 2, 2017

### Swamp Thing

Thank you --- I will look at these two resources.