The authenticate
method will log you in.
user = authenticate(token)
This creates a IBMQUser
type.
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.
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
stats = status(job)
returns the status of the job.
Possible return values are:
COMPLETED
, VALIDATING
, QUEUED
, RUNNING
, ERROR_VALIDATING_JOB
, ERROR_RUNNING_JOB
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.