Qiskit.js algo (pure JavaScript)
Pure JS engine (jsqubits based) engine (simulator) for the Qiskit algorithms package.
Install
:coffee: Install lastest Node.js stable version (or LTS) and then:
npm i @qiskit/algo-js
Use
:pencil: You can visit the complete example in this test.
const qiskit = require('@qiskit/algo-js');
console.log('Version');
console.log(qiskit.version);
API
:eyes: 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
).