Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions samples/quantum-signal-processing/signal-processing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
"def qsp_circuit(x, phases):\n",
" \"\"\"Creates a single-qubit unitary for some given QSP phases\"\"\"\n",
"\n",
" # Map SumPy phases into NumPy phases and reverse them (gate application\n",
" # Map SymPy phases into NumPy phases and reverse them (gate application\n",
" # direction is opposite to matrix multiplication)\n",
" np_phases = [float(phi) for phi in phases]\n",
" np_phases.reverse()\n",
Expand Down Expand Up @@ -547,4 +547,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
Loading