IBMQJulia.jl

IBMQ backend for Yao
Author Sov-trotter
Popularity
4 Stars
Updated Last
11 Months Ago
Started In
October 2020

IBMQJulia

Build Status codecov

Quickstart

Login

The authenticate method will log you in.

user = authenticate(token)

This creates a IBMQUser type.

Creating register

The createreg will make a Yao.AbstractRegister type viz. IBMQReg that holds vital info regarding communication with the IBMQ backend.

reg = createreg(user)

This will list the available backends and an interactive selection.

Uploading the circuit

job = apply!(reg, [qc])

The apply!(::IBMQReg, ::Array{ChainBlock}) accepts multiple circuits in an array since some backends are capable of running multiple expertiments in a single job

Checking Status

stats = status(job)

returns the status of the job. Possible return values are: COMPLETED, VALIDATING, QUEUED, RUNNING, ERROR_VALIDATING_JOB, ERROR_RUNNING_JOB

Fetching results

If the status() method returns COMPLETED, one can fetch the results with the getresult() method.

getresult(job)

The result data is stored in Dict format.

Used By Packages

No packages found.