SamplerSimulation#
Module: iqm.qaoa.backends
- class iqm.qaoa.backends.SamplerSimulation(simulator=None, transpiler=None, **kwargs)[source]#
Bases:
SamplerBackendA sampler that simulates the QAOA circuit in
qiskit.Some simulators may need the circuit to be transpiled, so optionally a
TranspilerOptionmay 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
