Operators#
Reference documentation for all operator classes and factory functions in netket_foundation.operator.
Operator classes#
The classes below are operators that specifically work with NetKet foundation.
The netket_foundation.operator.ParametrizedOperator is the general operator used with foundation quantum states, while PauliStringsJax and FermionOperator are largely equivalent to their NetKet’s counterparts but have a few minor modifications necessary to build those operators within jit contexts.
We will, over time, upstream those changes to NetKet.
Operator wrapper that evaluates a physical operator from parameters carried in the sample. |
|
Jax-compatible version of |
|
A fermionic operator in \(2^{nd}\) quantization, using Numba for indexing. |
Operator factories#
Those commands below can be used to compose Hamiltonians that work with Foundation quantum states. They behave the same as those within NetKet, but return Foundation-specific classes.
Pauli X operator acting on site i of the Hilbert space hi. |
|
Pauli Y operator acting on site i of the Hilbert space hi. |
|
Pauli Z operator acting on site i of the Hilbert space hi. |
|
Builds the fermion creation operator \(\hat{a}^\dagger\) acting on the site-th of the Hilbert space hilbert. |
|
Builds the fermion destruction operator \(\hat{a}\) acting on the site-th of the Hilbert space hilbert. |
|
Builds the number operator \(\hat{a}^\dagger\hat{a}\) acting on the site-th of the Hilbert space hilbert. |