qiskit-js icon indicating copy to clipboard operation
qiskit-js copied to clipboard

C++ simulator thanks to WASM

Open jesusprubio opened this issue 7 years ago • 2 comments

The idea is to compile to include the C++ simulator provided in the regular Qiskit distribution. The plan is to start with Node.js support, some related resources:

  • https://medium.com/@atulanand94/beginners-guide-to-writing-nodejs-addons-using-c-and-n-api-node-addon-api-9b3b718a9a7f
  • https://github.com/fcanas/node-native-boilerplate
  • https://github.com/nodejs/node-addon-examples

Once it works, we would like to explore the idea of compiling it to WASM to get it running into the browser. It would be awesome because maybe (it doesn't depends on me) it could be used in the Quantum Experience website. We explored different options but it was a long time ago, probably a re-research would be needed.

About the actual simulator, I don't work in Qiskit anymore. Now it has its own repo: https://github.com/Qiskit/qiskit-aer

Please ask any doubt, @atilag can help us :).

jesusprubio avatar May 23 '18 08:05 jesusprubio

This sounds interesting. Could some more details around this idea be provided?

danbev avatar May 12 '19 16:05 danbev

Yes, it's an interesting (and not easy) one :smile_cat:.

I'm editing the issue with more information. But please feel free to change the plan or whatever you prefer.

jesusprubio avatar May 13 '19 11:05 jesusprubio