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

Add complex Givens rotation gate #232

Closed kevinsung closed 1 month ago

kevinsung commented 1 month ago

A Givens rotation can in general be complex-valued, but apply_givens_rotation currently only represents a real Givens rotation. It could be generalized by adding a phase angle phi. An alternative would be to define a function that takes the matrix entries c: float and s: complex.

kevinsung commented 1 month ago

Closed in #236