ffsim 0.0.83__tar.gz → 0.0.85__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ffsim-0.0.83 → ffsim-0.0.85}/.github/workflows/check.yml +1 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/.gitignore +3 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/CONTRIBUTING.md +4 -2
- {ffsim-0.0.83 → ffsim-0.0.85}/Cargo.lock +59 -60
- {ffsim-0.0.83 → ffsim-0.0.85}/Cargo.toml +1 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/Dockerfile +14 -4
- {ffsim-0.0.83 → ffsim-0.0.85}/PKG-INFO +7 -2
- ffsim-0.0.85/docs/execute_notebooks.py +398 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/explanations/diag-coulomb-hamiltonian.ipynb +4 -4
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/explanations/double-factorized.ipynb +2 -3
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/explanations/fermion-operator.ipynb +48 -59
- ffsim-0.0.85/docs/explanations/fermionic-fft.ipynb +263 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/explanations/hamiltonians.ipynb +4 -4
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/explanations/index.md +1 -0
- ffsim-0.0.85/docs/explanations/lucj.ipynb +1089 -0
- ffsim-0.0.85/docs/explanations/orbital-rotation.ipynb +257 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/explanations/protocols.ipynb +30 -32
- ffsim-0.0.85/docs/explanations/qubit-gate-decompositions.ipynb +495 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/explanations/state-vectors-and-gates.ipynb +3 -4
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/explanations/variational-ansatzes.ipynb +151 -31
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/generate_api_docs.py +8 -4
- ffsim-0.0.85/docs/how-to-guides/compress-orbital-rotation.ipynb +468 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/how-to-guides/compute-expectation-values.ipynb +9 -7
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/how-to-guides/entanglement-forging.ipynb +10 -11
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/how-to-guides/index.md +3 -1
- ffsim-0.0.85/docs/how-to-guides/optimize-orbitals.ipynb +450 -0
- ffsim-0.0.85/docs/how-to-guides/qiskit-circuits-sim.ipynb +383 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/how-to-guides/qiskit-lucj.ipynb +11 -11
- ffsim-0.0.85/docs/how-to-guides/qiskit-merge-orbital-rotations.ipynb +193 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/how-to-guides/qiskit-trotter.ipynb +6 -7
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/how-to-guides/sample-from-state-vectors.ipynb +2 -2
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/how-to-guides/sample-slater.ipynb +2 -2
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/how-to-guides/simulate-trotter-hubbard.ipynb +4 -4
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/how-to-guides/simulate-trotter-mol-ham.ipynb +5 -5
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/how-to-guides/simulate-vqe.ipynb +57 -57
- ffsim-0.0.85/docs/how-to-guides/ucj-energy.ipynb +325 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/install.md +21 -0
- ffsim-0.0.85/docs/tutorials/create-variational-ansatz.ipynb +614 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/tutorials/double-factorized-trotter.ipynb +13 -9
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/tutorials/index.md +1 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/pyproject.toml +20 -3
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/__init__.py +39 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/_slow/fermion_operator.py +4 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/contract/__init__.py +2 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/contract/two_body.py +111 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/hamiltonians/__init__.py +2 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/hamiltonians/double_factorized_hamiltonian.py +19 -19
- ffsim-0.0.85/python/ffsim/hamiltonians/molecular_hamiltonian.py +984 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/hamiltonians/single_factorized_hamiltonian.py +50 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/linalg/__init__.py +10 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/linalg/double_factorized_decomposition.py +850 -340
- ffsim-0.0.85/python/ffsim/linalg/linalg.py +196 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/linalg/util.py +503 -113
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/molecular_data.py +4 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/operators/coupled_cluster.py +3 -3
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/optimize/linear_method.py +5 -7
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/protocols/approximate_equality_protocol.py +4 -8
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/__init__.py +18 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/gates/__init__.py +6 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/gates/diag_coulomb.py +2 -2
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/gates/diag_coulomb_trotter_split_op.py +1 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/gates/double_factorized_trotter.py +1 -1
- ffsim-0.0.85/python/ffsim/qiskit/gates/fermionic_fft.py +225 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/gates/givens_ansatz.py +2 -2
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/gates/num_num_ansatz.py +1 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/gates/num_op_sum.py +2 -2
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/gates/orbital_rotation.py +2 -2
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/gates/slater_determinant.py +4 -4
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/gates/ucj.py +3 -3
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/jordan_wigner.py +1 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/lucj_pass_manager.py +17 -15
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/sampler.py +4 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/sim.py +113 -3
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/transpiler_stages.py +4 -5
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/random/__init__.py +16 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/random/random.py +591 -128
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/states/__init__.py +2 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/states/bitstring.py +7 -3
- ffsim-0.0.85/python/ffsim/states/rdm.py +451 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/states/slater.py +92 -42
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/testing/testing.py +46 -45
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/trotter/qdrift.py +8 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/variational/__init__.py +18 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/variational/orbital_optimization.py +80 -55
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/variational/uccsd.py +681 -71
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/variational/ucj_angles_spin_balanced.py +11 -1
- ffsim-0.0.85/python/ffsim/variational/ucj_energy.py +1460 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/variational/ucj_spin_balanced.py +168 -100
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/variational/ucj_spin_unbalanced.py +339 -208
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/variational/ucj_spinless.py +145 -69
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/variational/util.py +58 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/src/fermion_operator.rs +62 -16
- {ffsim-0.0.83 → ffsim-0.0.85}/src/jordan_wigner.rs +10 -0
- ffsim-0.0.85/tests/python/conftest.py +35 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/contract/two_body_test.py +80 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/gates/diag_coulomb_test.py +16 -23
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/gates/orbital_rotation_test.py +20 -27
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/hamiltonians/double_factorized_hamiltonian_test.py +53 -0
- ffsim-0.0.85/tests/python/hamiltonians/molecular_hamiltonian_test.py +549 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/hamiltonians/single_factorized_hamiltonian_test.py +94 -0
- ffsim-0.0.85/tests/python/import_test.py +54 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/linalg/double_factorized_decomposition_test.py +684 -32
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/linalg/givens_test.py +2 -3
- ffsim-0.0.85/tests/python/linalg/linalg_test.py +144 -0
- ffsim-0.0.85/tests/python/linalg/util_test.py +1136 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/molecular_data_test.py +4 -3
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/operators/coupled_cluster_test.py +21 -9
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/operators/fermion_operator_test.py +164 -36
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/gates/diag_coulomb_test.py +32 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/gates/diag_coulomb_trotter_split_op_test.py +27 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/gates/double_factorized_trotter_test.py +31 -0
- ffsim-0.0.85/tests/python/qiskit/gates/fermionic_fft_test.py +155 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/gates/givens_ansatz_test.py +27 -22
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/gates/num_num_ansatz_test.py +18 -8
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/gates/num_op_sum_test.py +29 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/gates/orbital_rotation_test.py +33 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/gates/slater_determinant_test.py +80 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/gates/ucj_test.py +47 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/jordan_wigner_test.py +11 -1
- ffsim-0.0.85/tests/python/qiskit/lazy_import_test.py +20 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/lucj_pass_manager_test.py +31 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/sampler_test.py +19 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/sim_test.py +57 -0
- ffsim-0.0.85/tests/python/random_test.py +752 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/states/bitstring_test.py +51 -0
- ffsim-0.0.85/tests/python/states/rdm_test.py +639 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/states/slater_test.py +143 -30
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/states/states_test.py +4 -3
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/trotter/diag_coulomb_split_op_test.py +1 -1
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/trotter/double_factorized_test.py +6 -6
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/variational/givens_test.py +2 -2
- ffsim-0.0.85/tests/python/variational/orbital_optimization_test.py +425 -0
- ffsim-0.0.85/tests/python/variational/uccsd_test.py +645 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/variational/ucj_angles_spin_balanced_test.py +3 -3
- ffsim-0.0.85/tests/python/variational/ucj_energy_test.py +458 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/variational/ucj_spin_balanced_test.py +215 -5
- ffsim-0.0.85/tests/python/variational/ucj_spin_unbalanced_test.py +785 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/variational/ucj_spinless_test.py +191 -10
- ffsim-0.0.85/uv.lock +4153 -0
- ffsim-0.0.83/docs/explanations/lucj.ipynb +0 -681
- ffsim-0.0.83/docs/explanations/orbital-rotation.ipynb +0 -258
- ffsim-0.0.83/docs/explanations/qubit-gate-decompositions.ipynb +0 -495
- ffsim-0.0.83/docs/how-to-guides/compress-orbital-rotation.ipynb +0 -477
- ffsim-0.0.83/docs/how-to-guides/qiskit-circuits-sim.ipynb +0 -383
- ffsim-0.0.83/docs/how-to-guides/qiskit-merge-orbital-rotations.ipynb +0 -193
- ffsim-0.0.83/python/ffsim/hamiltonians/molecular_hamiltonian.py +0 -382
- ffsim-0.0.83/python/ffsim/linalg/linalg.py +0 -104
- ffsim-0.0.83/python/ffsim/states/rdm.py +0 -283
- ffsim-0.0.83/tests/python/hamiltonians/molecular_hamiltonian_test.py +0 -360
- ffsim-0.0.83/tests/python/linalg/linalg_test.py +0 -57
- ffsim-0.0.83/tests/python/linalg/util_test.py +0 -646
- ffsim-0.0.83/tests/python/random_test.py +0 -230
- ffsim-0.0.83/tests/python/states/rdm_test.py +0 -247
- ffsim-0.0.83/tests/python/variational/orbital_optimization_test.py +0 -91
- ffsim-0.0.83/tests/python/variational/uccsd_test.py +0 -545
- ffsim-0.0.83/tests/python/variational/ucj_spin_unbalanced_test.py +0 -418
- ffsim-0.0.83/uv.lock +0 -2999
- {ffsim-0.0.83 → ffsim-0.0.85}/.cargo/config.toml +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/.dockerignore +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/.github/workflows/build-and-release.yml +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/.github/workflows/docker.yml +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/.github/workflows/docs-dev.yml +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/.github/workflows/docs-release.yml +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/.github/workflows/test-latest-versions.yml +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/.github/workflows/test-minimum-versions.yml +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/.pre-commit-config.yaml +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/LICENSE +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/README.md +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/compose.yaml +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/_static/logo-dark.svg +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/_static/logo.svg +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/_templates/autosummary/class.rst +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/conf.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/docs/index.md +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/_cistring.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/_lib.pyi +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/_slow/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/_slow/contract/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/_slow/contract/diag_coulomb.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/_slow/contract/num_op_sum.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/_slow/gates/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/_slow/gates/diag_coulomb.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/_slow/gates/num_op_sum.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/_slow/gates/orbital_rotation.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/contract/diag_coulomb.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/contract/num_op_sum.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/contract/one_body.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/gates/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/gates/basic_gates.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/gates/diag_coulomb.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/gates/num_op_sum.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/gates/orbital_rotation.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/gates/quad_ham.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/hamiltonians/diagonal_coulomb_hamiltonian.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/init_cache.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/linalg/givens.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/linalg/predicates.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/operators/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/operators/common_operators.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/operators/fermi_hubbard.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/operators/fermion_action.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/operators/fermion_operator.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/optimize/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/optimize/_util.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/protocols/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/protocols/apply_unitary_protocol.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/protocols/diagonal_protocol.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/protocols/fermion_operator_protocol.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/protocols/linear_operator_protocol.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/protocols/trace_protocol.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/py.typed +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/transpiler_passes/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/transpiler_passes/drop_negligible.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/transpiler_passes/merge_orbital_rotations.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/qiskit/util.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/states/dimensions.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/states/product_state_sum.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/states/sample_slater.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/states/spin.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/states/states.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/states/wick.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/testing/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/trotter/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/trotter/_util.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/trotter/diagonal_coulomb_split_op.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/trotter/double_factorized.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/variational/givens.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/variational/hopgate.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/variational/multireference.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/python/ffsim/variational/num_num.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/src/contract/diag_coulomb.rs +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/src/contract/fermion_operator.rs +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/src/contract/mod.rs +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/src/contract/num_op_sum.rs +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/src/gates/diag_coulomb.rs +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/src/gates/mod.rs +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/src/gates/num_op_sum.rs +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/src/gates/orbital_rotation.rs +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/src/gates/phase_shift.rs +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/src/lib.rs +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/src/linalg/givens.rs +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/src/linalg/mod.rs +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/_slow/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/_slow/contract/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/_slow/contract/diag_coulomb_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/_slow/contract/num_op_sum_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/_slow/gates/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/_slow/gates/diag_coulomb_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/_slow/gates/num_op_sum_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/_slow/gates/orbital_rotation_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/contract/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/contract/diag_coulomb_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/contract/num_op_sum_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/gates/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/gates/basic_gates_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/gates/num_op_sum_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/gates/quad_ham_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/hamiltonians/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/hamiltonians/diagonal_coulomb_hamiltonian_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/linalg/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/operators/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/operators/common_operators_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/operators/fermi_hubbard_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/operators/fermion_action_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/optimize/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/optimize/linear_method_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/protocols/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/protocols/trace_protocol_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/gates/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/transpiler_passes/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/transpiler_passes/drop_negligible_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/transpiler_passes/merge_orbital_rotations_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/qiskit/util_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/states/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/states/sample_slater_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/states/wick_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/test_data/orbital_rotation-0.npy +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/test_no_warnings.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/testing_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/trotter/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/trotter/qdrift_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/variational/__init__.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/variational/hopgate_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/variational/multireference_test.py +0 -0
- {ffsim-0.0.83 → ffsim-0.0.85}/tests/python/variational/num_num_test.py +0 -0
|
@@ -17,7 +17,7 @@ jobs:
|
|
|
17
17
|
runs-on: ubuntu-latest
|
|
18
18
|
strategy:
|
|
19
19
|
matrix:
|
|
20
|
-
tox-env: ["coverage", "type", "lint", "format", "spell", "docs"]
|
|
20
|
+
tox-env: ["test-no-extras", "coverage", "type", "lint", "format", "spell", "docs"]
|
|
21
21
|
steps:
|
|
22
22
|
- uses: actions/checkout@v6
|
|
23
23
|
- name: Install dependencies
|
|
@@ -74,13 +74,15 @@ mypy
|
|
|
74
74
|
### Fix lint errors
|
|
75
75
|
|
|
76
76
|
```bash
|
|
77
|
-
ruff check --fix
|
|
77
|
+
ruff check --fix # for Python code
|
|
78
|
+
cargo clippy --all --fix -- -D warnings # for Rust code
|
|
78
79
|
```
|
|
79
80
|
|
|
80
81
|
### Fix formatting errors
|
|
81
82
|
|
|
82
83
|
```bash
|
|
83
|
-
ruff format
|
|
84
|
+
ruff format # for Python code
|
|
85
|
+
cargo fmt --all # for Rust code
|
|
84
86
|
```
|
|
85
87
|
|
|
86
88
|
### Run spell check
|
|
@@ -4,54 +4,40 @@ version = 4
|
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "autocfg"
|
|
7
|
-
version = "1.1
|
|
7
|
+
version = "1.5.1"
|
|
8
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "
|
|
10
|
-
|
|
11
|
-
[[package]]
|
|
12
|
-
name = "cfg-if"
|
|
13
|
-
version = "1.0.0"
|
|
14
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
-
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
9
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
16
10
|
|
|
17
11
|
[[package]]
|
|
18
12
|
name = "crossbeam-deque"
|
|
19
|
-
version = "0.8.
|
|
13
|
+
version = "0.8.7"
|
|
20
14
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
-
checksum = "
|
|
15
|
+
checksum = "5181e0de7b61eb03a81e347d6dd8797bae9da5146707b51077e2d71a54ec0ceb"
|
|
22
16
|
dependencies = [
|
|
23
|
-
"cfg-if",
|
|
24
17
|
"crossbeam-epoch",
|
|
25
18
|
"crossbeam-utils",
|
|
26
19
|
]
|
|
27
20
|
|
|
28
21
|
[[package]]
|
|
29
22
|
name = "crossbeam-epoch"
|
|
30
|
-
version = "0.9.
|
|
23
|
+
version = "0.9.20"
|
|
31
24
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
32
|
-
checksum = "
|
|
25
|
+
checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f"
|
|
33
26
|
dependencies = [
|
|
34
|
-
"autocfg",
|
|
35
|
-
"cfg-if",
|
|
36
27
|
"crossbeam-utils",
|
|
37
|
-
"memoffset",
|
|
38
|
-
"scopeguard",
|
|
39
28
|
]
|
|
40
29
|
|
|
41
30
|
[[package]]
|
|
42
31
|
name = "crossbeam-utils"
|
|
43
|
-
version = "0.8.
|
|
32
|
+
version = "0.8.22"
|
|
44
33
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
45
|
-
checksum = "
|
|
46
|
-
dependencies = [
|
|
47
|
-
"cfg-if",
|
|
48
|
-
]
|
|
34
|
+
checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17"
|
|
49
35
|
|
|
50
36
|
[[package]]
|
|
51
37
|
name = "either"
|
|
52
|
-
version = "1.
|
|
38
|
+
version = "1.18.0"
|
|
53
39
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
54
|
-
checksum = "
|
|
40
|
+
checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34"
|
|
55
41
|
|
|
56
42
|
[[package]]
|
|
57
43
|
name = "ffsim"
|
|
@@ -72,21 +58,24 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
|
72
58
|
|
|
73
59
|
[[package]]
|
|
74
60
|
name = "indoc"
|
|
75
|
-
version = "2.0.
|
|
61
|
+
version = "2.0.7"
|
|
76
62
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
|
-
checksum = "
|
|
63
|
+
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
|
|
64
|
+
dependencies = [
|
|
65
|
+
"rustversion",
|
|
66
|
+
]
|
|
78
67
|
|
|
79
68
|
[[package]]
|
|
80
69
|
name = "libc"
|
|
81
|
-
version = "0.2.
|
|
70
|
+
version = "0.2.189"
|
|
82
71
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
83
|
-
checksum = "
|
|
72
|
+
checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
|
|
84
73
|
|
|
85
74
|
[[package]]
|
|
86
75
|
name = "matrixmultiply"
|
|
87
|
-
version = "0.3.
|
|
76
|
+
version = "0.3.11"
|
|
88
77
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
89
|
-
checksum = "
|
|
78
|
+
checksum = "3f607c237553f086e7043417a51df26b2eb899d3caff94e6a67592ff992fedc7"
|
|
90
79
|
dependencies = [
|
|
91
80
|
"autocfg",
|
|
92
81
|
"rawpointer",
|
|
@@ -94,23 +83,25 @@ dependencies = [
|
|
|
94
83
|
|
|
95
84
|
[[package]]
|
|
96
85
|
name = "memoffset"
|
|
97
|
-
version = "0.9.
|
|
86
|
+
version = "0.9.1"
|
|
98
87
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
99
|
-
checksum = "
|
|
88
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
100
89
|
dependencies = [
|
|
101
90
|
"autocfg",
|
|
102
91
|
]
|
|
103
92
|
|
|
104
93
|
[[package]]
|
|
105
94
|
name = "ndarray"
|
|
106
|
-
version = "0.
|
|
95
|
+
version = "0.17.2"
|
|
107
96
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
108
|
-
checksum = "
|
|
97
|
+
checksum = "520080814a7a6b4a6e9070823bb24b4531daac8c4627e08ba5de8c5ef2f2752d"
|
|
109
98
|
dependencies = [
|
|
110
99
|
"matrixmultiply",
|
|
111
100
|
"num-complex",
|
|
112
101
|
"num-integer",
|
|
113
102
|
"num-traits",
|
|
103
|
+
"portable-atomic",
|
|
104
|
+
"portable-atomic-util",
|
|
114
105
|
"rawpointer",
|
|
115
106
|
"rayon",
|
|
116
107
|
]
|
|
@@ -126,11 +117,10 @@ dependencies = [
|
|
|
126
117
|
|
|
127
118
|
[[package]]
|
|
128
119
|
name = "num-integer"
|
|
129
|
-
version = "0.1.
|
|
120
|
+
version = "0.1.47"
|
|
130
121
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
131
|
-
checksum = "
|
|
122
|
+
checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
|
|
132
123
|
dependencies = [
|
|
133
|
-
"autocfg",
|
|
134
124
|
"num-traits",
|
|
135
125
|
]
|
|
136
126
|
|
|
@@ -161,21 +151,30 @@ dependencies = [
|
|
|
161
151
|
|
|
162
152
|
[[package]]
|
|
163
153
|
name = "once_cell"
|
|
164
|
-
version = "1.21.
|
|
154
|
+
version = "1.21.4"
|
|
165
155
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
166
|
-
checksum = "
|
|
156
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
167
157
|
|
|
168
158
|
[[package]]
|
|
169
159
|
name = "portable-atomic"
|
|
170
|
-
version = "1.
|
|
160
|
+
version = "1.15.0"
|
|
161
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
162
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
163
|
+
|
|
164
|
+
[[package]]
|
|
165
|
+
name = "portable-atomic-util"
|
|
166
|
+
version = "0.2.8"
|
|
171
167
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
172
|
-
checksum = "
|
|
168
|
+
checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715"
|
|
169
|
+
dependencies = [
|
|
170
|
+
"portable-atomic",
|
|
171
|
+
]
|
|
173
172
|
|
|
174
173
|
[[package]]
|
|
175
174
|
name = "proc-macro2"
|
|
176
|
-
version = "1.0.
|
|
175
|
+
version = "1.0.107"
|
|
177
176
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
178
|
-
checksum = "
|
|
177
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
179
178
|
dependencies = [
|
|
180
179
|
"unicode-ident",
|
|
181
180
|
]
|
|
@@ -244,9 +243,9 @@ dependencies = [
|
|
|
244
243
|
|
|
245
244
|
[[package]]
|
|
246
245
|
name = "quote"
|
|
247
|
-
version = "1.0.
|
|
246
|
+
version = "1.0.47"
|
|
248
247
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
249
|
-
checksum = "
|
|
248
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
250
249
|
dependencies = [
|
|
251
250
|
"proc-macro2",
|
|
252
251
|
]
|
|
@@ -259,9 +258,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
|
|
|
259
258
|
|
|
260
259
|
[[package]]
|
|
261
260
|
name = "rayon"
|
|
262
|
-
version = "1.
|
|
261
|
+
version = "1.12.0"
|
|
263
262
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
264
|
-
checksum = "
|
|
263
|
+
checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
|
|
265
264
|
dependencies = [
|
|
266
265
|
"either",
|
|
267
266
|
"rayon-core",
|
|
@@ -279,21 +278,21 @@ dependencies = [
|
|
|
279
278
|
|
|
280
279
|
[[package]]
|
|
281
280
|
name = "rustc-hash"
|
|
282
|
-
version = "2.1.
|
|
281
|
+
version = "2.1.3"
|
|
283
282
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
284
|
-
checksum = "
|
|
283
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
285
284
|
|
|
286
285
|
[[package]]
|
|
287
|
-
name = "
|
|
288
|
-
version = "1.
|
|
286
|
+
name = "rustversion"
|
|
287
|
+
version = "1.0.23"
|
|
289
288
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
290
|
-
checksum = "
|
|
289
|
+
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
291
290
|
|
|
292
291
|
[[package]]
|
|
293
292
|
name = "syn"
|
|
294
|
-
version = "2.0.
|
|
293
|
+
version = "2.0.119"
|
|
295
294
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
296
|
-
checksum = "
|
|
295
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
297
296
|
dependencies = [
|
|
298
297
|
"proc-macro2",
|
|
299
298
|
"quote",
|
|
@@ -302,18 +301,18 @@ dependencies = [
|
|
|
302
301
|
|
|
303
302
|
[[package]]
|
|
304
303
|
name = "target-lexicon"
|
|
305
|
-
version = "0.13.
|
|
304
|
+
version = "0.13.5"
|
|
306
305
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
307
|
-
checksum = "
|
|
306
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
308
307
|
|
|
309
308
|
[[package]]
|
|
310
309
|
name = "unicode-ident"
|
|
311
|
-
version = "1.0.
|
|
310
|
+
version = "1.0.24"
|
|
312
311
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
313
|
-
checksum = "
|
|
312
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
314
313
|
|
|
315
314
|
[[package]]
|
|
316
315
|
name = "unindent"
|
|
317
|
-
version = "0.2.
|
|
316
|
+
version = "0.2.4"
|
|
318
317
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
319
|
-
checksum = "
|
|
318
|
+
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
@@ -8,7 +8,14 @@ RUN rm -rf work
|
|
|
8
8
|
|
|
9
9
|
# Install apt dependencies
|
|
10
10
|
USER root
|
|
11
|
-
RUN apt update &&
|
|
11
|
+
RUN apt-get update && \
|
|
12
|
+
apt-get install -y --no-install-recommends \
|
|
13
|
+
gcc \
|
|
14
|
+
libc6-dev \
|
|
15
|
+
libopenblas-dev \
|
|
16
|
+
libssl-dev \
|
|
17
|
+
pkg-config && \
|
|
18
|
+
rm -rf /var/lib/apt/lists/*
|
|
12
19
|
USER ${NB_UID}
|
|
13
20
|
|
|
14
21
|
# Copy files
|
|
@@ -17,12 +24,15 @@ COPY . .src/ffsim
|
|
|
17
24
|
# Fix the permissions of ~/.src and ~/persistent-volume
|
|
18
25
|
USER root
|
|
19
26
|
RUN fix-permissions .src && \
|
|
20
|
-
mkdir persistent-volume &&
|
|
27
|
+
mkdir persistent-volume && \
|
|
28
|
+
fix-permissions persistent-volume
|
|
21
29
|
USER ${NB_UID}
|
|
22
30
|
|
|
23
31
|
# Consolidate the docs into the home directory
|
|
24
32
|
RUN mkdir docs && \
|
|
25
33
|
cp -a .src/ffsim/docs docs/ffsim
|
|
26
34
|
|
|
27
|
-
#
|
|
28
|
-
RUN pip install -
|
|
35
|
+
# Install ffsim and documentation dependencies
|
|
36
|
+
RUN python -m pip install --no-cache-dir --upgrade "pip>=25.1" && \
|
|
37
|
+
python -m pip install --no-cache-dir -e ".src/ffsim[qiskit]" \
|
|
38
|
+
--group .src/ffsim/pyproject.toml:docs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ffsim
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.85
|
|
4
4
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
5
5
|
Classifier: Programming Language :: Python
|
|
6
6
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
@@ -17,9 +17,14 @@ Requires-Dist: numpy
|
|
|
17
17
|
Requires-Dist: opt-einsum
|
|
18
18
|
Requires-Dist: orjson
|
|
19
19
|
Requires-Dist: pyscf>=2.12
|
|
20
|
-
Requires-Dist: qiskit>=2.0
|
|
21
20
|
Requires-Dist: scipy
|
|
22
21
|
Requires-Dist: typing-extensions
|
|
22
|
+
Requires-Dist: jax[cuda12] ; extra == 'cuda12'
|
|
23
|
+
Requires-Dist: jax[cuda13] ; extra == 'cuda13'
|
|
24
|
+
Requires-Dist: qiskit>=2.0,<3 ; extra == 'qiskit'
|
|
25
|
+
Provides-Extra: cuda12
|
|
26
|
+
Provides-Extra: cuda13
|
|
27
|
+
Provides-Extra: qiskit
|
|
23
28
|
License-File: LICENSE
|
|
24
29
|
Summary: Faster simulation of fermionic quantum circuits.
|
|
25
30
|
Requires-Python: >=3.11
|