qiskit.extensions.HamiltonianGate.power¶ HamiltonianGate.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