AQTJob¶
- class AQTJob(backend, job_id, access_token=None, qobj=None)[source]¶
Initialize a job instance.
- Parameters
backend (BaseBackend) – Backend that job was executed on.
job_id (str) – The unique job ID.
access_token (str) – The AQT access token.
qobj (Qobj) – Quantum object, if any.
- get_counts(circuit=None, timeout=None, wait=5)[source]¶
Get the histogram data of a measured circuit.
- Parameters
circuit (str or QuantumCircuit or int or None) – The index of the circuit.
timeout (float) – A timeout for trying to get the counts.
wait (float) – A specified wait time between counts retrival attempts.
- Returns
Dictionary of string : int key-value pairs.
- Return type
dict