Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.
/ qpu-access-accum Public archive

Python module to accumulate qpu access time of D-Wave quantum annealers in Google Spreadsheet.

License

Notifications You must be signed in to change notification settings

mullzhang/qpu-access-accum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qpu-access-accum

Python module to accumulate qpu access time of D-Wave quantum annealers in Google Spreadsheet.

Valid child samplers:

  • DWaveSampler
  • DWaveCliqueSampler
  • EmbeddingComposite
  • FixedEmbeddingComposite
  • LeapHybridSampler
  • LeapHybridCQMSampler
  • LeapHybridDQMSampler

Preparation

You should prepare with a spreadsheet with Google Sheet API, whose format is here.

Installation

$ pip install git+https://github.com/mullzhang/qpu-access-accum.git

usage

Example of QUBO using DWaveCliqueSampler

from qpu_access_accum import QPUAccessAccumComposite

accum_conifg = dict(username='NAME',
                    keyfile_path='API_KEY.json',
                    spreadsheet_key='SPREADSHEET_KEY',
                    worksheet_index=0)

sampler = QPUAccessAccumComposite(child_sampler, **accum_config)
sampleset = sampler.sample(bqm, **sampler_params)

About

Python module to accumulate qpu access time of D-Wave quantum annealers in Google Spreadsheet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages