Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.Gate.power

Gate.power(exponent)[ソース]

Creates a unitary gate as gate^exponent.

パラメータ

exponent (float) – Gate^exponent

戻り値

To which to_matrix is self.to_matrix^exponent.

戻り値の型

qiskit.extensions.UnitaryGate

例外

CircuitError – If Gate is not unitary