Skip to content

Commit

Permalink
-m CHSH
Browse files Browse the repository at this point in the history
  • Loading branch information
maolinml committed Jun 27, 2024
1 parent 64e263b commit b064771
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions notebooks/textbook/CHSH_Inequality.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
"To run CHSH inequality on a QPU, we replace the LocalSimulator with an AwsDevice. \n",
"To reduce the cost, we run the the experiment only the defualt angles which gives the maximum CHSH inequality value.\n",
"\n",
"The cost to run this experiment is \\\\$0.3 per task and \\\\$0.00035 per shot on the Oxford Quantum Circuits Lucy device. Since we have four circuits of 1000 shots each, the total cost is \\$2.60 USD."
"The cost to run this experiment is \\\\$0.3 per task and \\\\$0.00145 per shot on the IQM Garnet device. Since we have four circuits of 1000 shots each, the total cost is \\$7 USD."
]
},
{
Expand All @@ -393,7 +393,7 @@
"source": [
"# # Uncomment the following to run on QPU\n",
"# from braket.aws import AwsDevice\n",
"# device = AwsDevice(\"arn:aws:braket:eu-west-2::device/qpu/oqc/Lucy\")\n",
"# device = AwsDevice(\"arn:aws:braket:eu-north-1::device/qpu/iqm/Garnet\")\n",
"# circuits = create_chsh_inequality_circuits()\n",
"# tasks = run_chsh_inequality(circuits, device, shots=1_000)\n",
"# chsh_value, results, E_a1b1, E_a1b2, E_a2b1, E_a2b2 = get_chsh_results(tasks)"
Expand Down Expand Up @@ -449,7 +449,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
"version": "3.11.4"
},
"vscode": {
"interpreter": {
Expand Down

0 comments on commit b064771

Please sign in to comment.