Permalink
Browse files

OpenFermion v0.1a0

  • Loading branch information...
babbush committed Sep 21, 2017
0 parents commit 3e88922c21b6c5be63bc56910b70a846d1ba598f
Showing with 79,184 additions and 0 deletions.
  1. +74 −0 .gitignore
  2. +29 −0 CONTRIBUTING.md
  3. +201 −0 LICENSE
  4. +9 −0 MANIFEST.in
  5. +52 −0 NOTICE
  6. +78 −0 README.rst
  7. 0 docs/.nojekyll
  8. +224 −0 docs/Makefile
  9. +344 −0 docs/conf.py
  10. +322 −0 docs/examples.rst
  11. +18 −0 docs/index.rst
  12. +64 −0 docs/intro.rst
  13. +281 −0 docs/make.bat
  14. +28 −0 docs/openfermion.rst
  15. +609 −0 examples/openfermion_demo.ipynb
  16. +208 −0 examples/performance_benchmarks.py
  17. +6 −0 requirements.txt
  18. +46 −0 setup.py
  19. +21 −0 src/openfermion/__init__.py
  20. +14 −0 src/openfermion/_version.py
  21. +21 −0 src/openfermion/config.py
  22. 0 src/openfermion/data/.gitignore
  23. BIN src/openfermion/data/H1-Li1_sto-3g_singlet_1.45.hdf5
  24. +1,757 −0 src/openfermion/data/H1-Li1_sto-3g_singlet_1.45.out
  25. BIN src/openfermion/data/H10_sto-3g_singlet_ring_0.7414.hdf5
  26. +2,009 −0 src/openfermion/data/H10_sto-3g_singlet_ring_0.7414.out
  27. BIN src/openfermion/data/H2_sto-3g_singlet_0.1.hdf5
  28. +1,659 −0 src/openfermion/data/H2_sto-3g_singlet_0.1.out
  29. BIN src/openfermion/data/H2_sto-3g_singlet_0.2.hdf5
  30. +987 −0 src/openfermion/data/H2_sto-3g_singlet_0.2.out
  31. BIN src/openfermion/data/H2_sto-3g_singlet_0.28.hdf5
  32. BIN src/openfermion/data/H2_sto-3g_singlet_0.3.hdf5
  33. +1,659 −0 src/openfermion/data/H2_sto-3g_singlet_0.3.out
  34. BIN src/openfermion/data/H2_sto-3g_singlet_0.35.hdf5
  35. BIN src/openfermion/data/H2_sto-3g_singlet_0.4.hdf5
  36. +987 −0 src/openfermion/data/H2_sto-3g_singlet_0.4.out
  37. BIN src/openfermion/data/H2_sto-3g_singlet_0.42.hdf5
  38. BIN src/openfermion/data/H2_sto-3g_singlet_0.5.hdf5
  39. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_0.5.out
  40. BIN src/openfermion/data/H2_sto-3g_singlet_0.57.hdf5
  41. BIN src/openfermion/data/H2_sto-3g_singlet_0.6.hdf5
  42. +987 −0 src/openfermion/data/H2_sto-3g_singlet_0.6.out
  43. BIN src/openfermion/data/H2_sto-3g_singlet_0.65.hdf5
  44. BIN src/openfermion/data/H2_sto-3g_singlet_0.7.hdf5
  45. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_0.7.out
  46. BIN src/openfermion/data/H2_sto-3g_singlet_0.73.hdf5
  47. BIN src/openfermion/data/H2_sto-3g_singlet_0.7414.hdf5
  48. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_0.7414.out
  49. BIN src/openfermion/data/H2_sto-3g_singlet_0.8.hdf5
  50. +987 −0 src/openfermion/data/H2_sto-3g_singlet_0.8.out
  51. BIN src/openfermion/data/H2_sto-3g_singlet_0.88.hdf5
  52. BIN src/openfermion/data/H2_sto-3g_singlet_0.9.hdf5
  53. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_0.9.out
  54. BIN src/openfermion/data/H2_sto-3g_singlet_0.95.hdf5
  55. BIN src/openfermion/data/H2_sto-3g_singlet_1.0.hdf5
  56. +987 −0 src/openfermion/data/H2_sto-3g_singlet_1.0.out
  57. BIN src/openfermion/data/H2_sto-3g_singlet_1.02.hdf5
  58. BIN src/openfermion/data/H2_sto-3g_singlet_1.1.hdf5
  59. +1,661 −0 src/openfermion/data/H2_sto-3g_singlet_1.1.out
  60. BIN src/openfermion/data/H2_sto-3g_singlet_1.18.hdf5
  61. BIN src/openfermion/data/H2_sto-3g_singlet_1.2.hdf5
  62. +987 −0 src/openfermion/data/H2_sto-3g_singlet_1.2.out
  63. BIN src/openfermion/data/H2_sto-3g_singlet_1.25.hdf5
  64. BIN src/openfermion/data/H2_sto-3g_singlet_1.3.hdf5
  65. +1,661 −0 src/openfermion/data/H2_sto-3g_singlet_1.3.out
  66. BIN src/openfermion/data/H2_sto-3g_singlet_1.32.hdf5
  67. BIN src/openfermion/data/H2_sto-3g_singlet_1.4.hdf5
  68. +986 −0 src/openfermion/data/H2_sto-3g_singlet_1.4.out
  69. BIN src/openfermion/data/H2_sto-3g_singlet_1.47.hdf5
  70. BIN src/openfermion/data/H2_sto-3g_singlet_1.5.hdf5
  71. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_1.5.out
  72. BIN src/openfermion/data/H2_sto-3g_singlet_1.55.hdf5
  73. BIN src/openfermion/data/H2_sto-3g_singlet_1.6.hdf5
  74. +986 −0 src/openfermion/data/H2_sto-3g_singlet_1.6.out
  75. BIN src/openfermion/data/H2_sto-3g_singlet_1.63.hdf5
  76. BIN src/openfermion/data/H2_sto-3g_singlet_1.7.hdf5
  77. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_1.7.out
  78. BIN src/openfermion/data/H2_sto-3g_singlet_1.77.hdf5
  79. BIN src/openfermion/data/H2_sto-3g_singlet_1.8.hdf5
  80. +986 −0 src/openfermion/data/H2_sto-3g_singlet_1.8.out
  81. BIN src/openfermion/data/H2_sto-3g_singlet_1.85.hdf5
  82. BIN src/openfermion/data/H2_sto-3g_singlet_1.9.hdf5
  83. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_1.9.out
  84. BIN src/openfermion/data/H2_sto-3g_singlet_1.92.hdf5
  85. BIN src/openfermion/data/H2_sto-3g_singlet_2.0.hdf5
  86. +986 −0 src/openfermion/data/H2_sto-3g_singlet_2.0.out
  87. BIN src/openfermion/data/H2_sto-3g_singlet_2.08.hdf5
  88. BIN src/openfermion/data/H2_sto-3g_singlet_2.1.hdf5
  89. +1,661 −0 src/openfermion/data/H2_sto-3g_singlet_2.1.out
  90. BIN src/openfermion/data/H2_sto-3g_singlet_2.15.hdf5
  91. BIN src/openfermion/data/H2_sto-3g_singlet_2.2.hdf5
  92. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_2.2.out
  93. BIN src/openfermion/data/H2_sto-3g_singlet_2.23.hdf5
  94. BIN src/openfermion/data/H2_sto-3g_singlet_2.3.hdf5
  95. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_2.3.out
  96. BIN src/openfermion/data/H2_sto-3g_singlet_2.38.hdf5
  97. BIN src/openfermion/data/H2_sto-3g_singlet_2.4.hdf5
  98. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_2.4.out
  99. BIN src/openfermion/data/H2_sto-3g_singlet_2.45.hdf5
  100. BIN src/openfermion/data/H2_sto-3g_singlet_2.5.hdf5
  101. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_2.5.out
  102. BIN src/openfermion/data/H2_sto-3g_singlet_2.52.hdf5
  103. BIN src/openfermion/data/H2_sto-3g_singlet_2.6.hdf5
  104. +1,659 −0 src/openfermion/data/H2_sto-3g_singlet_2.6.out
  105. BIN src/openfermion/data/H2_sto-3g_singlet_2.68.hdf5
  106. BIN src/openfermion/data/H2_sto-3g_singlet_2.7.hdf5
  107. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_2.7.out
  108. BIN src/openfermion/data/H2_sto-3g_singlet_2.75.hdf5
  109. BIN src/openfermion/data/H2_sto-3g_singlet_2.8.hdf5
  110. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_2.8.out
  111. BIN src/openfermion/data/H2_sto-3g_singlet_2.83.hdf5
  112. BIN src/openfermion/data/H2_sto-3g_singlet_2.9.hdf5
  113. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_2.9.out
  114. BIN src/openfermion/data/H2_sto-3g_singlet_2.98.hdf5
  115. BIN src/openfermion/data/H2_sto-3g_singlet_3.0.hdf5
  116. +1,659 −0 src/openfermion/data/H2_sto-3g_singlet_3.0.out
  117. BIN src/openfermion/data/H2_sto-3g_singlet_3.05.hdf5
  118. BIN src/openfermion/data/H2_sto-3g_singlet_3.13.hdf5
  119. BIN src/openfermion/data/H2_sto-3g_singlet_3.2.hdf5
  120. BIN src/openfermion/data/H2_sto-3g_singlet_ring_0.7414.hdf5
  121. +1,660 −0 src/openfermion/data/H2_sto-3g_singlet_ring_0.7414.out
  122. BIN src/openfermion/data/H3_sto-3g_doublet_ring_0.7414.hdf5
  123. +2,192 −0 src/openfermion/data/H3_sto-3g_doublet_ring_0.7414.out
  124. BIN src/openfermion/data/H4_sto-3g_singlet_ring_0.7414.hdf5
  125. +1,747 −0 src/openfermion/data/H4_sto-3g_singlet_ring_0.7414.out
  126. BIN src/openfermion/data/H5_sto-3g_doublet_ring_0.7414.hdf5
  127. +1,806 −0 src/openfermion/data/H5_sto-3g_doublet_ring_0.7414.out
  128. BIN src/openfermion/data/H6_sto-3g_singlet_ring_0.7414.hdf5
  129. +1,755 −0 src/openfermion/data/H6_sto-3g_singlet_ring_0.7414.out
  130. BIN src/openfermion/data/H7_sto-3g_doublet_ring_0.7414.hdf5
  131. +1,967 −0 src/openfermion/data/H7_sto-3g_doublet_ring_0.7414.out
  132. BIN src/openfermion/data/H8_sto-3g_singlet_ring_0.7414.hdf5
  133. +1,887 −0 src/openfermion/data/H8_sto-3g_singlet_ring_0.7414.out
  134. BIN src/openfermion/data/H9_sto-3g_doublet_ring_0.7414.hdf5
  135. +2,298 −0 src/openfermion/data/H9_sto-3g_doublet_ring_0.7414.out
  136. 0 src/openfermion/data/__init__.py
  137. BIN src/openfermion/data/bad_type_operator.data
  138. +3 −0 src/openfermion/data/geometry_example.txt
  139. +20 −0 src/openfermion/ops/__init__.py
  140. +621 −0 src/openfermion/ops/_fermion_operator.py
  141. +765 −0 src/openfermion/ops/_fermion_operator_test.py
  142. +111 −0 src/openfermion/ops/_interaction_operator.py
  143. +78 −0 src/openfermion/ops/_interaction_operator_test.py
  144. +129 −0 src/openfermion/ops/_interaction_rdm.py
  145. +67 −0 src/openfermion/ops/_interaction_rdm_test.py
  146. +295 −0 src/openfermion/ops/_interaction_tensor.py
  147. +264 −0 src/openfermion/ops/_interaction_tensor_test.py
  148. +463 −0 src/openfermion/ops/_qubit_operator.py
  149. +461 −0 src/openfermion/ops/_qubit_operator_test.py
  150. +229 −0 src/openfermion/tests/_hydrogen_integration_test.py
  151. +131 −0 src/openfermion/tests/_lih_integration_test.py
  152. +21 −0 src/openfermion/transforms/__init__.py
  153. +449 −0 src/openfermion/transforms/_bksf.py
  154. +298 −0 src/openfermion/transforms/_bksf_test.py
  155. +141 −0 src/openfermion/transforms/_bravyi_kitaev.py
  156. +196 −0 src/openfermion/transforms/_bravyi_kitaev_test.py
  157. +173 −0 src/openfermion/transforms/_conversion.py
  158. +144 −0 src/openfermion/transforms/_conversion_test.py
  159. +167 −0 src/openfermion/transforms/_fenwick_tree.py
  160. +68 −0 src/openfermion/transforms/_fenwick_tree_test.py
  161. +238 −0 src/openfermion/transforms/_jordan_wigner.py
  162. +341 −0 src/openfermion/transforms/_jordan_wigner_test.py
  163. +101 −0 src/openfermion/transforms/_reverse_jordan_wigner.py
  164. +179 −0 src/openfermion/transforms/_reverse_jordan_wigner_test.py
  165. +57 −0 src/openfermion/utils/__init__.py
  166. +154 −0 src/openfermion/utils/_chemical_series.py
  167. +136 −0 src/openfermion/utils/_chemical_series_test.py
  168. +520 −0 src/openfermion/utils/_dual_basis_trotter_error.py
  169. +482 −0 src/openfermion/utils/_dual_basis_trotter_error_test.py
  170. +67 −0 src/openfermion/utils/_grid.py
  171. +59 −0 src/openfermion/utils/_grid_test.py
  172. +185 −0 src/openfermion/utils/_hubbard.py
  173. +103 −0 src/openfermion/utils/_hubbard_test.py
  174. +490 −0 src/openfermion/utils/_jellium.py
  175. +108 −0 src/openfermion/utils/_jellium_hf_state.py
  176. +100 −0 src/openfermion/utils/_jellium_hf_state_test.py
  177. +342 −0 src/openfermion/utils/_jellium_test.py
  178. +858 −0 src/openfermion/utils/_molecular_data.py
  179. +265 −0 src/openfermion/utils/_molecular_data_test.py
  180. +218 −0 src/openfermion/utils/_operator_utils.py
  181. +225 −0 src/openfermion/utils/_operator_utils_test.py
  182. +342 −0 src/openfermion/utils/_plane_wave_hamiltonian.py
  183. +186 −0 src/openfermion/utils/_plane_wave_hamiltonian_test.py
  184. +676 −0 src/openfermion/utils/_sparse_tools.py
  185. +661 −0 src/openfermion/utils/_sparse_tools_test.py
  186. +184 −0 src/openfermion/utils/_trotter_error.py
  187. +161 −0 src/openfermion/utils/_trotter_error_test.py
@@ -0,0 +1,74 @@
.DS_Store
*lastfailed
*coverage
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# Environments
.env
.venv
env/
venv/
ENV/
# mkdocs documentation
/site
*.lprof
@@ -0,0 +1,29 @@
# How to contribute
We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.
## Contributor License Agreement
Contributions to this project must be accompanied by a Contributor License
Agreement. You (or your employer) retain the copyright to your contribution,
this simply gives us permission to use and redistribute your contributions as
part of the project. Head over to <https://cla.developers.google.com/> to see
your current agreements on file or to sign a new one. You generally only need
to submit a CLA once, so if you've already submitted one (even if it was for a
different project), you probably don't need to do it again.
## Pull request standards
All submissions, including submissions by project members, require review.
We use GitHub pull requests for this purpose. Consult
[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more
information on using pull requests.
Furthermore, please make sure your new code comes with extensive tests! We
use automatic testing to make sure all pull requests pass tests and do not
decrease overall test coverage by too much. Make sure you adhere to our style
guide. Just have a look at our code for clues. We mostly follow pep8 and use
the pep8 linter to check for it. Code should always come with documentation,
which is generated automatically and can be found
[here](http://openfermion.org).
201 LICENSE
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
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
http://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.
@@ -0,0 +1,9 @@
include CONTRIBUTING.md
include LICENSE
include MANIFEST.in
include NOTICE
include README.rst
include requirements.txt
include setup.py
recursive-include src *.py *.hdf5 *.npy
52 NOTICE
@@ -0,0 +1,52 @@
Copyright 2017 The OpenFermion Developers.
OpenFermion (www.openfermion.org) was developed by:
Ryan Babbush (Google)
Jarrod McClean (Google)
Ian Kivlichan (Harvard)
Damian Steiger (ETH Zurich)
Wei Sun (Google)
Craig Gidney (Google)
Thomas Haner (ETH Zurich)
Hannah Sim (Harvard)
Vojtech Havlicek (Oxford)
Kanav Setia (Dartmouth)
Nicholas Rubin (Rigetti)
Matthew Neeley (Google)
Dave Bacon (Google)
OpenFermion developed as a fork of FermiLib with some code from ProjectQ.
Code was forked from development branches of FermiLib and ProjectQ on 9/1/2017.
The original notices from FermiLib and ProjectQ are reproduced below.
FermiLib (www.projectq.ch)
The first release of FermiLib (v0.1a0) was developed by:
Ryan Babbush (Google)
Jarrod McClean (LBNL*)
Damian Steiger (ETH Zurich)
Ian Kivlichan (Harvard)
Thomas Haner (ETH)
Vojtech Havlicek (Oxford)
Matthew Neeley (Google)
Wei Sun (Google)
*FermiLib Copyright (c) 2017, all contributors including but not limited to
The Regents of the University of California, through Lawrence Berkeley National
Laboratory (subject to receipt of any required approvals from the U.S. Dept. of
Energy). All rights reserved. This Software was developed partially under
funding from the U.S. Department of Energy and the U.S. Government consequently
retains certain rights. As such, the U.S. Government has been granted for
itself and others acting on its behalf a paid-up, nonexclusive, irrevocable,
worldwide license in the Software to reproduce, distribute copies to the public,
prepare derivative works, and perform publicly and display publicly, and to
permit others to do so. This first release (v0.1a0) is 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
http://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.
ProjectQ (www.projectq.ch)
The first release of ProjectQ (v0.1) was developed by Thomas Haener
(thomas@projectq.ch) and Damian S. Steiger (damian@projectq.ch)
at ETH Zurich in 2016.
Oops, something went wrong.

0 comments on commit 3e88922

Please sign in to comment.