OpenFermion
OpenFermion copied to clipboard
The electronic structure package for quantum computers.
``` ========================================================================================= FAILURES ========================================================================================= __________________________________________________________________________________ test_multitensor_init ___________________________________________________________________________________ def test_multitensor_init(): """ Testing the generation of a multitensor object with random tensors """ a = np.random.random((5, 5)) b = np.random.random((4, 4)) c...
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.66.1 to 4.66.3. Release notes Sourced from tqdm's releases. tqdm v4.66.3 stable cli: eval safety (fixes CVE-2024-34062, GHSA-g7vv-2v7x-gj9p) tqdm v4.66.2 stable pandas: add DataFrame.progress_map (#1549) notebook: fix...
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7. Release notes Sourced from idna's releases. v3.7 What's Changed Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time...
Hello, I was playing with the `trotterize_exp_qubop_to_qasm` function, and I think it may be outputting incorrect circuits. I have constructed the following minimal broken example to demonstrate. If we consider...
Hi, I noticed that `get_sparse_operator()` assumes that Paulistrings in a QubitOperator are simplified, i.e. there should be no Paulis within a Paulistring acting on the same tensor-factor. Normally when initialising...
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.66.1 to 4.66.3. Release notes Sourced from tqdm's releases. tqdm v4.66.3 stable cli: eval safety (fixes CVE-2024-34062, GHSA-g7vv-2v7x-gj9p) tqdm v4.66.2 stable pandas: add DataFrame.progress_map (#1549) notebook: fix...
There seems to be an error when installing openfermion with pip into a specific target dir. When running `pip install -t target openfermion`, I get `WARNING: Target directory /xxx/target/openfermion already...
I found that when using sympy expression as coefficients in `FermionOperator`, the expression would be transformed automatically into float numbers. For example: ``` from openfermion.ops import FermionOperator from sympy import...
Hi all, I am currently using openfermion.ops.QuadOperator and I wanted to check out some relations I derived which required me to represent the symbolic QuadOperator as an array in the...
Tiny and non-urgent suggestion: this repo's visibility might benefit from the addition of the GitHub topic tag [cirq](https://github.com/topics/cirq) on the front page of the repo.