![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@qiskit/algos
Advanced tools
:atom_symbol: Quantum Information Software Kit Quantum Information algorithms for humans.
Please visit the main repository of the project to know about the rest of the tools.
:coffee: Install Node.js v8 and then:
npm i @qiskit/algos
:pencil: You can visit the complete example in this test.
const algos = require('@qiskit/algos');
console.log('Version');
console.log(algos.version);
const token = 'YOUR_LONG_TERM_TOKEN';
const userId = 'YOUR_USER_ID';
// With the default backend and length.
const jobId = await algos.random(token, userId)
console.log(`JobId: ${jobId}`)
// ... later
console.log(await algos.result(token, userId, jobId))
:eyes: Full specification.
version
The actual version of the library.
version
(string) - Version number.async random(token, userId, opts) -> jobId
Generate a true random number among 0 and 1.
token
(string) - QX long term access token (provided by the login
method of the qisqit-cloud package).userId
(string) - User identifier, same that for the last option.opts
(object) - Optional parameters:
backend
(string) - Where to run the operation. Supported: "simulator", "ibmqx2", "ibmqx4", "ibmqx5", "qs1_1". (default: "simulator")length
(number) - Number of random hex characters to ask for, used as entropy. (default: 16)jobId
(string) - Identifier for the generated background job (see next method).async result(token, userId, jobId) -> result
Get the result of a background job generated by an algorithm method.
token
userId
jobId
(string) - Job identifier got as initial response.result
(?) - Depending on the used agorithm:
status
(string) - To know if the job has finished correctly. Supported: "running", "completed", TODO.data
(number) - Generated random number. Only present if "status" is "completed".FAQs
Quantum Information algorithms for humans
The npm package @qiskit/algos receives a total of 1 weekly downloads. As such, @qiskit/algos popularity was classified as not popular.
We found that @qiskit/algos demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.