ffsim.qiskit.DiagCoulombEvolutionJW

class ffsim.qiskit.DiagCoulombEvolutionJW(norb, mat, time, *, z_representation=False, label=None)[source]

Bases: Gate

Diagonal Coulomb evolution under the Jordan-Wigner transformation.

The diagonal Coulomb evolution gate has the unitary

\[\begin{split}\exp\left(-i t \sum_{\substack{ij \\ \sigma \tau}} Z^{(\sigma \tau)}_{ij} n_{i\sigma} n_{j\tau} / 2\right)\end{split}\]

where \(n_{i\sigma}\) denotes the number operator on orbital \(i\) with spin \(\sigma\), \(Z^{(\sigma \tau)}\) is a real-valued matrix.

This gate assumes that qubits are ordered such that the first norb qubits correspond to the alpha orbitals and the last norb qubits correspond to the beta orbitals.

Methods

inverse()

Inverse gate.

Attributes