Skip to content

Commit

Permalink
Create MCFE integration branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ndsieki committed Nov 19, 2024
1 parent 4603a27 commit 0ed495f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pygsti/extras/ibmq/ibmqexperiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ def monitor(self):
for counter, qjob in enumerate(self.qjobs):
status = qjob.status()
print(f"Batch {counter + 1}: {status}")
if status in [_JobStatus.ERROR, 'ERROR']:
error_message = qjob.logs()
print("Error message:")
print(error_message)
if status in [_JobStatus.QUEUED, 'QUEUED']:
try:
print(f' - Queue position is {qjob.queue_position(True)}')
Expand Down

0 comments on commit 0ed495f

Please sign in to comment.