Sgate
Sgate(integer site) -> OperatorNamed
Returns a spin-1/2 OperatorNamed for the S gate.
Parameters
- site: The site index where the operator acts (exactly 1 site required).
Example
var s0 = Sgate(0)
Sgate(integer site) -> OperatorNamedReturns a spin-1/2 OperatorNamed for the S gate.
var s0 = Sgate(0)