Tamil
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.ControlledGate.power

ControlledGate.power(exponent)

Creates a unitary gate as gate^exponent.

Parameters

exponent (float) -- Gate^exponent

Returns

To which to_matrix is self.to_matrix^exponent.

Return type

qiskit.extensions.UnitaryGate

Raises

CircuitError -- If Gate is not unitary