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

Switch orbital_id to Grid #57

Closed Strilanc closed 7 years ago

Strilanc commented 7 years ago

Same number of parameters, but every caller has the grid instead of the length. And in the future this lets us do checks like ensuring the vector has the right number of dimensions, or moving this method inside of Grid.