ProjectQ-Framework / FermiLib

FermiLib: Open source software for analyzing fermionic quantum simulation algorithms
https://projectq.ch/
Apache License 2.0
86 stars 38 forks source link

Restrict Jordan-Wigner sparse operators to given particle number #96

Closed jarrodmcc closed 7 years ago

jarrodmcc commented 7 years ago

Adds functions and tests to restrict matrix representations of operators encoded using JW in the computational basis to a given particle number. Addresses #92