quantumlib / OpenFermion

The electronic structure package for quantum computers.
Apache License 2.0
1.51k stars 372 forks source link

Fix pytest deprecation warnings. #852

Closed fdmalone closed 9 months ago

fdmalone commented 10 months ago

The diff is huge because of reformatting. May be worth first merging #846. But just fixed some deprecation warnings (numpy.product, numpy.math, converting size one array to scalar) emitted by pytest.

fdmalone commented 9 months ago

@mpharrigan needs approval