ffsim 0.0.77__tar.gz → 0.0.79__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.77 → ffsim-0.0.79}/CONTRIBUTING.md +3 -8
- {ffsim-0.0.77 → ffsim-0.0.79}/PKG-INFO +3 -18
- {ffsim-0.0.77 → ffsim-0.0.79}/README.md +2 -2
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/_templates/autosummary/class.rst +4 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/conf.py +0 -1
- ffsim-0.0.79/docs/explanations/qubit-gate-decompositions.ipynb +495 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/install.md +6 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/pyproject.toml +39 -28
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/_lib.pyi +3 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/linalg/__init__.py +1 -6
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/linalg/givens.py +0 -44
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/gates/diag_coulomb_trotter_split_op.py +18 -17
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/gates/double_factorized_trotter.py +19 -18
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/gates/orbital_rotation.py +30 -10
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/gates/slater_determinant.py +24 -57
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/gates/ucj.py +47 -18
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/transpiler_passes/merge_orbital_rotations.py +8 -4
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/transpiler_stages.py +2 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/trotter/qdrift.py +6 -8
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/variational/givens.py +15 -2
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/variational/ucj_spin_unbalanced.py +2 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/variational/ucj_spinless.py +2 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/src/lib.rs +4 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/src/linalg/givens.rs +61 -10
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/_slow/contract/diag_coulomb_test.py +14 -14
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/_slow/contract/num_op_sum_test.py +6 -5
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/_slow/gates/diag_coulomb_test.py +17 -18
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/_slow/gates/num_op_sum_test.py +6 -5
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/_slow/gates/orbital_rotation_test.py +7 -6
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/contract/diag_coulomb_test.py +15 -18
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/contract/num_op_sum_test.py +12 -12
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/gates/basic_gates_test.py +29 -43
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/gates/diag_coulomb_test.py +22 -25
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/gates/num_op_sum_test.py +9 -10
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/gates/orbital_rotation_test.py +22 -28
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/hamiltonians/single_factorized_hamiltonian_test.py +13 -19
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/linalg/givens_test.py +43 -13
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/linalg/linalg_test.py +5 -5
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/operators/fermion_operator_test.py +6 -7
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/optimize/linear_method_test.py +4 -3
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/gates/diag_coulomb_test.py +20 -21
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/gates/diag_coulomb_trotter_split_op_test.py +23 -3
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/gates/double_factorized_trotter_test.py +26 -3
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/gates/givens_ansatz_test.py +10 -10
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/gates/num_num_ansatz_test.py +5 -4
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/gates/num_op_sum_test.py +19 -20
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/gates/orbital_rotation_test.py +45 -24
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/gates/slater_determinant_test.py +36 -7
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/gates/ucj_test.py +51 -9
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/jordan_wigner_test.py +26 -12
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/sampler_test.py +50 -64
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/sim_test.py +62 -70
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/transpiler_passes/merge_orbital_rotations_test.py +158 -29
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/util_test.py +3 -2
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/random_test.py +20 -20
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/states/bitstring_test.py +4 -4
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/states/sample_slater_test.py +13 -15
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/states/slater_test.py +19 -33
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/states/wick_test.py +8 -10
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/testing_test.py +4 -3
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/trotter/diag_coulomb_split_op_test.py +8 -10
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/trotter/double_factorized_test.py +6 -6
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/trotter/qdrift_test.py +58 -42
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/variational/givens_test.py +16 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/uv.lock +28 -21
- ffsim-0.0.77/docs/explanations/qubit-gate-decompositions.ipynb +0 -499
- {ffsim-0.0.77 → ffsim-0.0.79}/.cargo/config.toml +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/.dockerignore +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/.github/workflows/build-and-release.yml +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/.github/workflows/check.yml +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/.github/workflows/docker.yml +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/.github/workflows/docs-dev.yml +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/.github/workflows/docs-release.yml +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/.github/workflows/test-latest-versions.yml +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/.github/workflows/test-minimum-versions.yml +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/.gitignore +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/.pre-commit-config.yaml +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/Cargo.lock +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/Cargo.toml +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/Dockerfile +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/LICENSE +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/compose.yaml +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/_static/logo-dark.svg +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/_static/logo.svg +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/explanations/diag-coulomb-hamiltonian.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/explanations/double-factorized.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/explanations/fermion-operator.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/explanations/hamiltonians.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/explanations/index.md +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/explanations/lucj.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/explanations/orbital-rotation.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/explanations/protocols.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/explanations/state-vectors-and-gates.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/explanations/variational-ansatzes.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/generate_api_docs.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/how-to-guides/compute-expectation-values.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/how-to-guides/entanglement-forging.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/how-to-guides/index.md +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/how-to-guides/qiskit-circuits-sim.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/how-to-guides/qiskit-lucj.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/how-to-guides/qiskit-merge-orbital-rotations.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/how-to-guides/qiskit-trotter.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/how-to-guides/sample-from-state-vectors.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/how-to-guides/sample-slater.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/how-to-guides/simulate-trotter-hubbard.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/how-to-guides/simulate-trotter-mol-ham.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/how-to-guides/simulate-vqe.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/index.md +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/tutorials/double-factorized-trotter.ipynb +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/docs/tutorials/index.md +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/_cistring.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/_slow/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/_slow/contract/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/_slow/contract/diag_coulomb.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/_slow/contract/num_op_sum.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/_slow/fermion_operator.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/_slow/gates/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/_slow/gates/diag_coulomb.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/_slow/gates/num_op_sum.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/_slow/gates/orbital_rotation.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/contract/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/contract/diag_coulomb.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/contract/num_op_sum.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/contract/one_body.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/contract/two_body.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/gates/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/gates/basic_gates.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/gates/diag_coulomb.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/gates/num_op_sum.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/gates/orbital_rotation.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/gates/quad_ham.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/hamiltonians/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/hamiltonians/diagonal_coulomb_hamiltonian.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/hamiltonians/double_factorized_hamiltonian.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/hamiltonians/molecular_hamiltonian.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/hamiltonians/single_factorized_hamiltonian.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/init_cache.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/linalg/double_factorized_decomposition.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/linalg/linalg.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/linalg/predicates.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/linalg/util.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/molecular_data.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/operators/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/operators/common_operators.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/operators/coupled_cluster.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/operators/fermi_hubbard.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/operators/fermion_action.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/operators/fermion_operator.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/optimize/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/optimize/_util.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/optimize/linear_method.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/protocols/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/protocols/apply_unitary_protocol.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/protocols/approximate_equality_protocol.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/protocols/diagonal_protocol.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/protocols/fermion_operator_protocol.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/protocols/linear_operator_protocol.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/protocols/trace_protocol.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/py.typed +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/gates/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/gates/diag_coulomb.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/gates/givens_ansatz.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/gates/num_num_ansatz.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/gates/num_op_sum.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/jordan_wigner.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/lucj_pass_manager.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/sampler.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/sim.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/transpiler_passes/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/transpiler_passes/drop_negligible.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/qiskit/util.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/random/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/random/random.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/states/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/states/bitstring.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/states/dimensions.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/states/product_state_sum.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/states/rdm.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/states/sample_slater.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/states/slater.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/states/spin.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/states/states.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/states/wick.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/testing/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/testing/testing.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/trotter/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/trotter/_util.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/trotter/diagonal_coulomb_split_op.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/trotter/double_factorized.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/variational/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/variational/hopgate.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/variational/multireference.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/variational/num_num.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/variational/orbital_optimization.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/variational/uccsd.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/variational/ucj_angles_spin_balanced.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/variational/ucj_spin_balanced.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/python/ffsim/variational/util.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/src/contract/diag_coulomb.rs +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/src/contract/mod.rs +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/src/contract/num_op_sum.rs +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/src/fermion_operator.rs +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/src/gates/diag_coulomb.rs +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/src/gates/mod.rs +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/src/gates/num_op_sum.rs +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/src/gates/orbital_rotation.rs +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/src/gates/phase_shift.rs +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/src/jordan_wigner.rs +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/src/linalg/mod.rs +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/_slow/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/_slow/contract/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/_slow/gates/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/contract/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/contract/two_body_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/gates/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/gates/quad_ham_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/hamiltonians/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/hamiltonians/diagonal_coulomb_hamiltonian_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/hamiltonians/double_factorized_hamiltonian_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/hamiltonians/molecular_hamiltonian_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/linalg/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/linalg/double_factorized_decomposition_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/linalg/util_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/molecular_data_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/operators/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/operators/common_operators_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/operators/coupled_cluster_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/operators/fermi_hubbard_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/operators/fermion_action_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/optimize/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/protocols/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/protocols/trace_protocol_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/gates/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/lucj_pass_manager_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/transpiler_passes/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/qiskit/transpiler_passes/drop_negligible_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/states/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/states/rdm_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/states/states_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/test_data/orbital_rotation-0.npy +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/test_no_warnings.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/trotter/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/variational/__init__.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/variational/hopgate_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/variational/multireference_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/variational/num_num_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/variational/orbital_optimization_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/variational/uccsd_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/variational/ucj_angles_spin_balanced_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/variational/ucj_spin_balanced_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/variational/ucj_spin_unbalanced_test.py +0 -0
- {ffsim-0.0.77 → ffsim-0.0.79}/tests/python/variational/ucj_spinless_test.py +0 -0
|
@@ -7,7 +7,7 @@ The instructions on this page won't work natively on Windows. For ffsim developm
|
|
|
7
7
|
To set up ffsim for development, install it from source in editable mode along with the development requirements:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
pip install -e
|
|
10
|
+
pip install -e . --group dev
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
To install the git pre-commit hooks, run
|
|
@@ -57,10 +57,7 @@ substituting `<environment name>` with the name of the tox environment for the c
|
|
|
57
57
|
|
|
58
58
|
## Run code checks directly
|
|
59
59
|
|
|
60
|
-
Running the code checks directly using the corresponding software tool
|
|
61
|
-
|
|
62
|
-
- Automatically fix lint and formatting errors.
|
|
63
|
-
- Build the documentation without deleting cached files.
|
|
60
|
+
Running the code checks directly using the corresponding software tool gives you more flexibility and allows you to automatically fix lint and formatting errors.
|
|
64
61
|
|
|
65
62
|
### Run tests
|
|
66
63
|
|
|
@@ -101,6 +98,4 @@ sphinx-build -b html -W docs/ docs/_build/html
|
|
|
101
98
|
|
|
102
99
|
## View locally built documentation
|
|
103
100
|
|
|
104
|
-
After building the
|
|
105
|
-
Building the documentation can consume significant CPU because the tutorial notebooks are executed.
|
|
106
|
-
The tox command deletes cached files so it will execute all the notebooks every time, while the sphinx command only executes notebooks if they were modified from the previous run.
|
|
101
|
+
After building the documentation, open the file `docs/_build/html/index.html` in your web browser.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ffsim
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.79
|
|
4
4
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
5
5
|
Classifier: Programming Language :: Python
|
|
6
6
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
@@ -21,21 +21,6 @@ Requires-Dist: pyscf>=2.9
|
|
|
21
21
|
Requires-Dist: qiskit>=2.0
|
|
22
22
|
Requires-Dist: scipy
|
|
23
23
|
Requires-Dist: typing-extensions
|
|
24
|
-
Requires-Dist: coverage ; extra == 'dev'
|
|
25
|
-
Requires-Dist: maturin ; extra == 'dev'
|
|
26
|
-
Requires-Dist: mypy ; extra == 'dev'
|
|
27
|
-
Requires-Dist: myst-parser ; extra == 'dev'
|
|
28
|
-
Requires-Dist: nbmake ; extra == 'dev'
|
|
29
|
-
Requires-Dist: nbsphinx ; extra == 'dev'
|
|
30
|
-
Requires-Dist: pre-commit ; extra == 'dev'
|
|
31
|
-
Requires-Dist: pytest ; extra == 'dev'
|
|
32
|
-
Requires-Dist: qiskit[visualization] ; extra == 'dev'
|
|
33
|
-
Requires-Dist: qiskit-sphinx-theme ; extra == 'dev'
|
|
34
|
-
Requires-Dist: ruff ; extra == 'dev'
|
|
35
|
-
Requires-Dist: sphinx ; extra == 'dev'
|
|
36
|
-
Requires-Dist: sphinx-autodoc-typehints ; extra == 'dev'
|
|
37
|
-
Requires-Dist: typos ; extra == 'dev'
|
|
38
|
-
Provides-Extra: dev
|
|
39
24
|
License-File: LICENSE
|
|
40
25
|
Summary: Faster simulation of fermionic quantum circuits.
|
|
41
26
|
Requires-Python: >=3.10
|
|
@@ -59,13 +44,13 @@ Documentation is located at the [project website](https://qiskit-community.githu
|
|
|
59
44
|
|
|
60
45
|
<!-- start installation -->
|
|
61
46
|
|
|
62
|
-
|
|
47
|
+
On Linux and macOS, you can install ffsim using pip:
|
|
63
48
|
|
|
64
49
|
```bash
|
|
65
50
|
pip install ffsim
|
|
66
51
|
```
|
|
67
52
|
|
|
68
|
-
|
|
53
|
+
See the [installation instructions](https://qiskit-community.github.io/ffsim/install.html) for information about using ffsim on Windows, as well as instructions for installing from source and running ffsim in a container.
|
|
69
54
|
|
|
70
55
|
<!-- end installation -->
|
|
71
56
|
|
|
@@ -14,13 +14,13 @@ Documentation is located at the [project website](https://qiskit-community.githu
|
|
|
14
14
|
|
|
15
15
|
<!-- start installation -->
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
On Linux and macOS, you can install ffsim using pip:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
pip install ffsim
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
See the [installation instructions](https://qiskit-community.github.io/ffsim/install.html) for information about using ffsim on Windows, as well as instructions for installing from source and running ffsim in a container.
|
|
24
24
|
|
|
25
25
|
<!-- end installation -->
|
|
26
26
|
|
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
~{{ name }}.{{ item }}
|
|
27
27
|
{%- endfor %}
|
|
28
28
|
{% endif %}
|
|
29
|
+
{%- for item in methods if item not in inherited_members and item != '__init__' %}
|
|
30
|
+
|
|
31
|
+
.. automethod:: {{ item }}
|
|
32
|
+
{%- endfor %}
|
|
29
33
|
{%- for item in ns.protocol_methods %}
|
|
30
34
|
|
|
31
35
|
.. automethod:: {{ item }}
|