Skip to content

Commit

Permalink
Merge pull request #40 from ScQ-Cloud/chensgit169-patch-3
Browse files Browse the repository at this point in the history
Update tasks.py
  • Loading branch information
Zhaoyilunnn committed Jul 28, 2023
2 parents 3a55ded + 77d0125 commit 29f5ead
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/quafu/tasks/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ class Task(object):
"""

def __init__(self, user=User()):
# update api-token, a patch to be deleted in the future
user._api_token = user._load_account_token()
self.user = user

self.shots = 1000
self.tomo = False
self.compile = True
Expand Down

0 comments on commit 29f5ead

Please sign in to comment.