QuantumInstance.execute

QuantumInstance.execute(circuits, had_transpiled=False)[source]

A wrapper to interface with quantum backend.

Parameters
  • circuits (QuantumCircuit or list[QuantumCircuit]) – circuits to execute

  • had_transpiled (bool, optional) – whether or not circuits had been transpiled

Returns

Result object

Return type

Result

TODO: Maybe we can combine the circuits for the main ones and calibration circuits before

assembling to the qobj.