Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add job_time #160

Merged
merged 19 commits into from
Nov 24, 2021
Prev Previous commit
Next Next commit
final change
KetpuntoG committed Nov 24, 2021
commit 90fc6d5df7b5c25b10efef4c547f75ef8a942b66
3 changes: 2 additions & 1 deletion pennylane_qiskit/ibmq.py
Original file line number Diff line number Diff line change
@@ -97,9 +97,10 @@ def __init__(self, wires, provider=None, backend="ibmq_qasm_simulator", shots=10
super().__init__(wires=wires, provider=p, backend=backend, shots=shots, **kwargs)

def batch_execute(self, circuits):
super().batch_execute(circuits)
res = super().batch_execute(circuits)
if self.tracker.active:
self._track_run()
return res

def _track_run(self):
"""Provide runtime information."""