
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@qiskit/devs-ibm
Advanced tools
IBM Q engine (chip and remote simulator) for the Qiskit devs package.
:coffee: Install lastest Node.js stable version (or LTS) and then:
npm i @qiskit/devs-ibm
:pencil: You can visit the complete example in this test.
const Cloud = require('qiskit/cloud');
const qiskit = require('qiskit/devs-ibm');
const cloud = new Cloud();
cloud.login('YOUR_PERSONAL_TOKEN_HERE')
.then(() => {
cloud.backends()
.then(data => {
console.log('Backends:');
console.log(data);
});
qiskit.random({
custom: cloud,
// default: simulator
// engine: "ibmqx4"
})
.then(rand => console.log(`Random: ${rand}`))
});
:eyes: Please check the main doc. The method signature is the same but:
engine
parameter is omitted here.jobId
is returned.custom
(object): Mandatory here, it should be a logged qiskit-cloud instance.backend
(string): Name of the backend to use. (default: simulator)shots
(number): Number of times to run the circuit. (default: 1)maxCredits
(number): Max number of the credits to run this job. The task will be cancelled if it needs more.[0.8.0] - 2019-04-25
@qiskit/qiskit-sim
: Add t gate as an alias for the r4 gate@qiskit/qiskit-sim
: Add Gate as option to addGate API in README@qiskit/qiskit-sim
: Add phaseShift util function for phase gates@qiskit/qiskit-sim
: Make r2 gate use the matrix of the s gate@qiskit/qiskit-sim
: Use Gate.x.name for initial valuesFAQs
IBM Q engine for Qiskit for developers
We found that @qiskit/devs-ibm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.