quantization_axis

property ElectronSpin.quantization_axis: str | Components1D

Quantization axis of the spin.

Given by the keyword 'global_z', 'local_static_field', or 'anisotropy_axis', or by an explicit vector in the global coordinate system. It determines which direction is treated as the spin’s local z-axis when building operators and states for that spin.