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