Skip to content

qiskit-community/archiver4qiskit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

archiver4qiskit

Tools to help record data from Qiskit jobs.

Install with

pip install git+https://github.com/NCCR-SPIN/archiver4qiskit.git

Import the main tools with

from qiskitarchiver import submit_job, get_archive

To submit a job use

archive_id = submit_job(circuits, backend_name)

Here circuits are the circuits to run and backend_name is a string specifying the backend (for example 'ibmq_bogota' or 'aer_simulator'). Other than backend_name, arguments from this are passed directly on to the relevant run() function (which means you need to transpile your circuits first). The returned archive_id is a string used to retrieve the job from locally saved files.

To retreive an archive object use

archive = get_archive(archive_id)

This object functions much the same as the Qiskit job object. For example, archive.result() provides the results. Once obtained, the results are incorporated into the saved archive.

About

Tools to help record data from Qiskit jobs

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages