Skip to content
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

Remove cached_property backport #6398

Merged
merged 5 commits into from
Jan 11, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix import order
  • Loading branch information
Josha91 committed Jan 10, 2024
commit 0720d214fccf0705412e589193db1ef3135f5e61
4 changes: 2 additions & 2 deletions cirq-ft/cirq_ft/algos/unary_iteration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,10 @@
"metadata": {},
"outputs": [],
"source": [
"from functools import cached_property\n",
"import cirq\n",
"from cirq_ft import Signature, GateWithRegisters\n",
"from cirq_ft.infra.bit_tools import iter_bits\n",
"from functools import cached_property\n",
"\n",
"class TotallyControlledNot(GateWithRegisters):\n",
" \n",
Expand Down Expand Up @@ -471,8 +471,8 @@
"metadata": {},
"outputs": [],
"source": [
"from cirq_ft import Register, SelectionRegister, UnaryIterationGate\n",
"from functools import cached_property\n",
"from cirq_ft import Register, SelectionRegister, UnaryIterationGate\n",
"\n",
"class ApplyXToLthQubit(UnaryIterationGate):\n",
" def __init__(self, selection_bitsize: int, target_bitsize: int, control_bitsize: int = 1):\n",
Expand Down