Z
Z(integer site) -> OperatorNamed
Returns a spin-1/2 OperatorNamed for Pauli-Z operator.
Parameters
- site: The site index where the operator acts (exactly 1 site required).
Example
var pz2 = Z(2)
Z(integer site) -> OperatorNamedReturns a spin-1/2 OperatorNamed for Pauli-Z operator.
var pz2 = Z(2)