DualUnitary
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