FRYGate.power

FRYGate.power(exponent)

Creates a fermionic 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:

FermionicGate

Raises:

QiskitColdAtomError – If the gate has no defined generator.