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
You should prepare with a spreadsheet with Google Sheet API, whose format is here.
$ pip install git+https://github.com/mullzhang/qpu-access-accum.git
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)