Skip to content

Commit

Permalink
running how to notebook #0
Browse files Browse the repository at this point in the history
  • Loading branch information
robotAstray committed Jun 13, 2023
1 parent ee16a98 commit b75edb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/how_tos/0_how_to_access_AWS_Braket_devices.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
" 'description': 'AWS Device: Rigetti Aspen-M-3.',\n",
" 'name': 'Aspen-M-3',\n",
" 'number of qubits': 148,\n",
" 'online date': datetime.datetime(2023, 6, 8, 17, 35, 32, tzinfo=datetime.timezone.utc),\n",
" 'online date': datetime.datetime(2023, 6, 13, 21, 35, 32, tzinfo=datetime.timezone.utc),\n",
" 'operations': [Instruction(name='measure', num_qubits=1, num_clbits=1, params=[]),\n",
" Instruction(name='cz', num_qubits=2, num_clbits=0, params=[]),\n",
" Instruction(name='cx', num_qubits=2, num_clbits=0, params=[]),\n",
Expand All @@ -179,7 +179,7 @@
" 'description': 'AWS Device: Oxford Lucy.',\n",
" 'name': 'Lucy',\n",
" 'number of qubits': 8,\n",
" 'online date': datetime.datetime(2023, 6, 8, 17, 0, 8, tzinfo=datetime.timezone.utc),\n",
" 'online date': datetime.datetime(2023, 6, 13, 21, 0, 8, tzinfo=datetime.timezone.utc),\n",
" 'operations': [Instruction(name='measure', num_qubits=1, num_clbits=1, params=[]),\n",
" Instruction(name='cx', num_qubits=2, num_clbits=0, params=[]),\n",
" Instruction(name='cp', num_qubits=2, num_clbits=0, params=[Parameter(theta)]),\n",
Expand Down Expand Up @@ -381,7 +381,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.6"
"version": "3.8.10"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion tests/providers/test_braket_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_AWS_job(self):

self.assertTrue(isinstance(job, AWSBraketJob))
self.assertEqual(job.shots, 10)

self.assertEqual(job.result().job_id, "AwesomeId")
self.assertEqual(job.status(), JobStatus.DONE)

Expand Down

0 comments on commit b75edb8

Please sign in to comment.