Michael Hucka
Michael Hucka
In the file src/openfermion/contrib/representability/_multitensor.py, [lines 105-122](https://github.com/quantumlib/OpenFermion/blob/36ced6d5f55b9bad5c09fb3f3352e181a37cdaf0/src/openfermion/contrib/representability/_multitensor.py#L105-L122), the index variable `index` is first used in a `for` loop, then used again in subsequent lines _outside_ of the `for` loop. ```python for...
Function `linearize_term` in file `src/openfermion/measurements/equality_cosntraint_projection.py` has several returns in an if-elif conditional, but it doesn't have a default return, which means it can return `None` if none of the conditions...
PR #1056 modified the pytest configuration to set a global random number seed, to deal with flaky tests that failed sporadically because some numerical comparisons exceeded tolerances undpredictably. Setting a...
We're using Markdown more than reStructuredText in repos like Cirq & TFQ.
In file src/openfermion/resource_estimates/pbc/df/df_integrals.py, [lines 159-172](https://github.com/quantumlib/OpenFermion/blob/36ced6d5f55b9bad5c09fb3f3352e181a37cdaf0/src/openfermion/resource_estimates/pbc/df/df_integrals.py#L159-L172), the function `double_factorize` is declared as returning None, but there's a return statement where it returns something other than none: ```python if self.df_factors is not...
This PR size-labeling workflow and script came from Cirq. It makes it so that PRs are automatically labeled with an indication of their size, such as `size: S` or `size:...
Changes: * Previously, the CMake configuration was such that it would always build the AVX2, AVX512 & SSE2 Pybind11 modules without testing whether the current system supported those options. The...
### Describe the issue The current `.bazelrc` file has a config for `avx`, but lacks one for `avx512`, whereas the regular Makefiles do have a separate configuration for that. ###...
### Describe the issue The Bazel configuration files do no install the Python requirements, which means it's up to the user to do `pip install requirements.txt` and `dev-requirements.txt` prior to...
### What is the task? The version of Pybind11 that `pybind_interface/GetPybind11.cmake` gets is not pinned in any way to the version specified in `requirements.txt`. That's likely to be the source...