Skip to content

Commit

Permalink
update bloq_ex
Browse files Browse the repository at this point in the history
  • Loading branch information
anurudhp committed Aug 31, 2024
1 parent 2f378c5 commit 28a07f2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "4954b875",
"id": "2568299e",
"metadata": {
"cq.autogen": "title_cell"
},
Expand Down Expand Up @@ -72,7 +72,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b8d9132b",
"id": "4f761ae7",
"metadata": {
"cq.autogen": "top_imports"
},
Expand All @@ -89,7 +89,7 @@
},
{
"cell_type": "markdown",
"id": "c367b412",
"id": "17790c77",
"metadata": {
"cq.autogen": "StatePreparationViaRotations.bloq_doc.md"
},
Expand Down Expand Up @@ -118,7 +118,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "231d05c0",
"id": "55c81370",
"metadata": {
"cq.autogen": "StatePreparationViaRotations.bloq_doc.py"
},
Expand All @@ -129,7 +129,7 @@
},
{
"cell_type": "markdown",
"id": "872fe1ad",
"id": "d8c2407c",
"metadata": {
"cq.autogen": "StatePreparationViaRotations.example_instances.md"
},
Expand All @@ -140,7 +140,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b94628bb",
"id": "cd0552db",
"metadata": {
"cq.autogen": "StatePreparationViaRotations.state_prep_via_rotation"
},
Expand All @@ -164,7 +164,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "baa27f4c",
"id": "a52e9cf3",
"metadata": {
"cq.autogen": "StatePreparationViaRotations.state_prep_via_rotation_symb"
},
Expand All @@ -182,7 +182,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "12cc1315",
"id": "5446822b",
"metadata": {
"cq.autogen": "StatePreparationViaRotations.state_prep_via_rotation_symb_phasegrad"
},
Expand All @@ -200,14 +200,14 @@
")\n",
"\n",
"phase_bitsize = sympy.Symbol(r\"b_\\text{grad}\")\n",
"state_prep_via_rotation_symb = StatePreparationViaRotations(\n",
"state_prep_via_rotation_symb_phasegrad = StatePreparationViaRotations(\n",
" state_coefficients=state_coefs, phase_bitsize=phase_bitsize\n",
")"
]
},
{
"cell_type": "markdown",
"id": "3a929195",
"id": "facf9536",
"metadata": {
"cq.autogen": "StatePreparationViaRotations.graphical_signature.md"
},
Expand All @@ -218,7 +218,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "11de27d9",
"id": "2d801788",
"metadata": {
"cq.autogen": "StatePreparationViaRotations.graphical_signature.py"
},
Expand All @@ -231,7 +231,7 @@
},
{
"cell_type": "markdown",
"id": "e2fc90b0",
"id": "c1aeb064",
"metadata": {
"cq.autogen": "StatePreparationViaRotations.call_graph.md"
},
Expand All @@ -242,7 +242,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "a2081971",
"id": "a6fee1d3",
"metadata": {
"cq.autogen": "StatePreparationViaRotations.call_graph.py"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,10 +369,10 @@ def _state_prep_via_rotation_symb_phasegrad() -> StatePreparationViaRotations:
)

phase_bitsize = sympy.Symbol(r"b_\text{grad}")
state_prep_via_rotation_symb = StatePreparationViaRotations(
state_prep_via_rotation_symb_phasegrad = StatePreparationViaRotations(
state_coefficients=state_coefs, phase_bitsize=phase_bitsize
)
return state_prep_via_rotation_symb
return state_prep_via_rotation_symb_phasegrad


_STATE_PREP_VIA_ROTATIONS_DOC = BloqDocSpec(
Expand Down

0 comments on commit 28a07f2

Please sign in to comment.