SpinGate.power

SpinGate.power(exponent)[source]

Creates a spin gate as gate^exponent.

Parameters:

exponent (float) – The exponent with which the gate is exponentiated

Returns:

To which .generator is self.generator*exponent.

Return type:

SpinGate

Raises:

QiskitColdAtomError – Ff the gate generator is not defined.