Skip to content

Inconsistent returns in double_factorize #925

@mhucka

Description

@mhucka

In file src/openfermion/resource_estimates/pbc/df/df_integrals.py, lines 159-172, the function double_factorize is declared as returning None, but there's a return statement where it returns something other than none:

        if self.df_factors is not None:
            return self.df_factors

Metadata

Metadata

Assignees

Labels

area/healthInvolves code and/or project healthno QC knowledge neededDoes not require knowledge of quantum computingpriority/p2Medium priority

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions