ffsim.qiskit.NumOpSumEvolutionJW

class ffsim.qiskit.NumOpSumEvolutionJW(norb, coeffs, time, *, label=None)[source]

Bases: Gate

Number operator sum evolution under the Jordan-Wigner transformation.

The number operator sum evolution gate has the unitary

\[\exp\left(-i t \sum_{i \sigma} \lambda^{(\sigma)}_i n_{i\sigma}\right)\]

where \(n_{i\sigma}\) denotes the number operator on orbital \(i\) with spin \(\sigma\) and the \(\lambda_i\) are real numbers.

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