qiskit-community / ffsim

Faster simulations of fermionic quantum circuits.
https://qiskit-community.github.io/ffsim/
Apache License 2.0
19 stars 5 forks source link

allow orbital rotation and diag coulomb tuples to be a Numpy array dimension instead #195

Closed kevinsung closed 1 month ago

kevinsung commented 1 month ago

For example, instead of passing (mat_a, mat_b), allow the matrices to be assembled in a Numpy array. Currently, a Numpy array is assumed to be a single operator. This check should also take the shape into account.