You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm curious if QMSolve can be combined with ChartJS in a Client-Server model? In this case QMSolve will calculate and return data for the client side to display.
The text was updated successfully, but these errors were encountered:
For time-independent simulations, such as those found in the eigenstates solver examples directory, the method H.solve returns a Numpy array of eigenstates: eigenstates.array[0] stores the ground state wave function with the lowest possible energy, eigenstates.array[1] gives the first excited stationary state, and so on. From here you will have to figure out how to pass these Numpy arrays from the server to client.
For the time-dependent simulations (refer to one of the scripts found in the time dependent solver examples directory), sim.method.simulation.Ψ gives a Numpy array that records the wave function at each step in time of the simulation, where sim is an instance of TimeSimulation. Note that you must run the simulation first by calling the method sim.run in order to get sim.method.simulation.Ψ. Just as before, you'll need to transfer the Numpy array sim.method.simulation.Ψ to the client side.
I'm curious if QMSolve can be combined with ChartJS in a Client-Server model? In this case QMSolve will calculate and return data for the client side to display.
The text was updated successfully, but these errors were encountered: