-
Notifications
You must be signed in to change notification settings - Fork 224
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
deprecation: IonQ Harmony #619
Changes from 7 commits
3933e2a
aec202c
7bdcbe8
1e88162
8c8951e
0b6ac08
50ddc63
78cbfe3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,17 +96,17 @@ | |
"print('\\n') \n", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be Ankaa-2 and Aria-1?.
Quantum Task Summary {'arn:aws:braket:us-west-1::device/qpu/rigetti/Aspen-M-3': {'shots': 2000, 'tasks': {'COMPLETED': 2}}, 'arn:aws:braket:us-east-1::device/qpu/ionq/Harmony': {'shots': 1000, 'tasks': {'COMPLETED': 1}}} Reply via ReviewNB |
||
"\n", | ||
"# the Rigetti device\n", | ||
"rigetti = AwsDevice(Devices.Rigetti.AspenM3)\n", | ||
"rigetti = AwsDevice(Devices.Rigetti.Ankaa2)\n", | ||
"supported_gates = rigetti.properties.action[DeviceActionType.OPENQASM].supportedOperations\n", | ||
"# print the supported gate set\n", | ||
"print('Gate set supported by the Rigetti device:\\n', supported_gates)\n", | ||
"print('Gate set supported by the Rigetti Ankaa-2 device:\\n', supported_gates)\n", | ||
"print('\\n') \n", | ||
"\n", | ||
"# the IonQ device\n", | ||
"ionq = AwsDevice(Devices.IonQ.Harmony)\n", | ||
"ionq = AwsDevice(Devices.IonQ.Aria1)\n", | ||
"supported_gates = ionq.properties.action[DeviceActionType.OPENQASM].supportedOperations\n", | ||
"# print the supported gate set\n", | ||
"print('Gate set supported by the IonQ device:\\n', supported_gates)\n", | ||
"print('Gate set supported by the IonQ Aria 1 device:\\n', supported_gates)\n", | ||
"print('\\n')\n", | ||
"\n", | ||
"# the IQM Garnet device\n", | ||
|
@@ -435,7 +435,7 @@ | |
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"Next, we submit our example Bell state circuit to IonQ. We set the device as AwsDevice(\"arn:aws:braket:us-east-1::device/qpu/ionq/Harmony\"). This quantum task may not readily be executed but enter a queue for this specific machine. While we can interrupt our kernel (and work on something else), we can always recover our results using the unique ID of this quantum task." | ||
"Next, we submit our example Bell state circuit to IonQ. We set the device as `AwsDevice(\"arn:aws:braket:us-east-1::device/qpu/ionq/Aria-1\")`. This quantum task may not readily be executed but enter a queue for this specific machine. While we can interrupt our kernel (and work on something else), we can always recover our results using the unique ID of this quantum task." | ||
] | ||
}, | ||
{ | ||
|
@@ -846,7 +846,7 @@ | |
"outputs": [], | ||
"source": [ | ||
"# set up device\n", | ||
"rigetti = AwsDevice(Devices.Rigetti.AspenM3)\n", | ||
"rigetti = AwsDevice(Devices.Rigetti.Ankaa2)\n", | ||
"\n", | ||
"# run circuit\n", | ||
"task = rigetti.run(bell, shots=1000)\n", | ||
|
@@ -928,7 +928,7 @@ | |
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.11.4" | ||
"version": "3.10.9" | ||
}, | ||
"vscode": { | ||
"interpreter": { | ||
|
Large diffs are not rendered by default.
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here
Reply via ReviewNB