SamplerResonance

Contents

SamplerResonance#

Module: iqm.qaoa.backends

class iqm.qaoa.backends.SamplerResonance(token, server_url='https://resonance.iqm.tech/garnet', transpiler=TranspilerOption.SPARSE, **kwargs)[source]#

Bases: SamplerBackend

A sampler that runs the circuit on IQM Resonance and returns the result.

Parameters:
  • token (str) – The API token to be used to connect to IQM Resonance.

  • server_url (str) – The URL to the quantum computer (defaults to Garnet).

  • transpiler (TranspilerOption) – The transpiling strategy to be used when building the quantum circuit for the QC. Defaults to TranspilerOption.SPARSE

  • kwargs (Any) – The keyword arguments to be passed to the inner call to Qiskit transpile().

Methods

Inheritance

Inheritance diagram of iqm.qaoa.backends.SamplerResonance