SamplerSimulation

SamplerSimulation#

Module: iqm.qaoa.backends

class iqm.qaoa.backends.SamplerSimulation(simulator=None, transpiler=None, **kwargs)[source]#

Bases: SamplerBackend

A sampler that simulates the QAOA circuit in qiskit.

Some simulators may need the circuit to be transpiled, so optionally a TranspilerOption may be provided.

Parameters:
  • simulator (BackendV2 | None) – A simulator which the simulation can be run on.

  • transpiler (TranspilerOption | None) – A transpilation (routing) strategy to use, if applicable.

  • kwargs (Any)

Methods

Inheritance

Inheritance diagram of iqm.qaoa.backends.SamplerSimulation