forked from hotstaff/qc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Qconfig.py
23 lines (19 loc) · 922 Bytes
/
Qconfig.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Before you can use the jobs API, you need to set up an access token.
# Log in to the Quantum Experience. Under "Account", generate a personal
# access token. Replace 'PUT_YOUR_API_TOKEN_HERE' below with the quoted
# token string. Uncomment the APItoken variable, and you will be ready to go.
#APItoken = 'PUT_YOUR_API_TOKEN_HERE'
config = {
'url': 'https://quantumexperience.ng.bluemix.net/api',
# If you have access to IBM Q features, you also need to fill the "hub",
# "group", and "project" details. Replace "None" on the lines below
# with your details from Quantum Experience, quoting the strings, for
# example: 'hub': 'my_hub'
# You will also need to update the 'url' above, pointing it to your custom
# URL for IBM Q.
'hub': None,
'group': None,
'project': None
}
if 'APItoken' not in locals():
raise Exception('Please set up your access token. See Qconfig.py.')