OperatorParam<real>
Represents a parametrized spin-1/2 operator with rotation angles or phase parameters. Create instances using factory functions like Phase(), RotX(), RotY(), RotZ(), RotEuler(), etc.
Factories
DualUnitary(real J, const List<integer> sites) -> OperatorParam<real>
Returns a spin-1/2 dual unitary operator: where are the site indices.
Parameters
- J: The Jz constant parameter.
- sites: Vector of two site indices where the operator acts.
Example
var dual_u = DualUnitary(0.25, [0, 1]) // Dual unitary with Jz=0.25
Floquet(const List<real> Js, const List<integer> sites) -> OperatorParam<real>
Returns a spin-1/2 Floquet