Skip to content

Commit

Permalink
Add QCQMC code part 1 (#342)
Browse files Browse the repository at this point in the history
* Add requirements.

* ci requirements.

* Add data module.

* Add afqmc circuit generation.

* Add module docstring.

* Add utilities module.

* Prune extra requirements.

* Add missing data.

* Factor out utilities.

* Refactor utilities.

* Remove utilities.

* Put back old code.

* Revert change.

* Add docstring.

* Add __init__ + license.

* Address review comments.

* indicator -> inline_control.

* Update docstring.
  • Loading branch information
fdmalone authored Jun 14, 2024
1 parent a7c8ce9 commit 54a61ca
Show file tree
Hide file tree
Showing 60 changed files with 1,125 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dev_tools/write-ci-requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ def main(*, out_fn: str = 'ci-requirements.txt', relative_cirq_version: str = 'c
core_reqs = _set_cirq_version(core_reqs, relative_cirq_version)

extras_require = [
'otoc', 'qaoa', 'optimize', 'hfvqe', 'fermi_hubbard', 'qml_lfe', 'seniority_zero',
'otoc', 'qaoa', 'optimize', 'hfvqe', 'fermi_hubbard', 'qml_lfe',
'seniority_zero', 'qcqmc'
]
extras_require = {
r: _parse_requirements(pathlib.Path(REPO_DIR / f'recirq/{r}/extra-requirements.txt'))
Expand Down
13 changes: 13 additions & 0 deletions recirq/qcqmc/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2024 Google
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
Loading

0 comments on commit 54a61ca

Please sign in to comment.