Pure JS engine (jsqubits based) engine (simulator) for the Qiskit algorithms package.
☕ Install Node.js v8 and then:
npm i @qiskit/devs-js
📝 You can visit the complete example in this test.
const qiskit = require('@qiskit/devs-js');
console.log('Version');
console.log(qiskit.version);
👀 Please check the main doc. The methods signature is the same but:
- As expected, the
engine
parameter is omitted here. - All algorithms doesn't need a background job, so a result is returned (vs a
jobId
).