DeprecatedThis package is deprecated
Qiskit.js algo (pure JavaScript)
Pure JS engine (jsqubits based) engine (simulator) for the Qiskit algorithms package.
Install
Install lastest Node.js stable version (or LTS) and then:
npm i @qiskit/algo-js
Use
You can visit the complete example in this test.
const qiskit = require('@qiskit/algo-js');
console.log('Version');
console.log(qiskit.version);
API
Please check the main doc. The methods signature is the same but:
- As expected, the
engineparameter is omitted here. - All algorithms doesn't need a background job, so a result is returned (vs a
jobId).