qiskit.quantum_info.ScalarOp.power¶
- ScalarOp.power(n)[código fonte]¶
Return the power of the ScalarOp.
- Parâmetros
n (float) – the exponent for the scalar op.
- Retorno
the
coeff ** n
ScalarOp.- Tipo de retorno
Return the power of the ScalarOp.
n (float) – the exponent for the scalar op.
the coeff ** n
ScalarOp.