Get uniformly a spin state

Description

Generate a single spin state from uniform distribution.

Usage

1

Arguments

n

dummy argument

Value

Returns randomly 1 or -1 from uniform distribution.

Author(s)

Mehmet Suzen <mehmet.suzen@physics.org>

Examples

1