qiskit.quantum_info.CNOTDihedral.power¶
- CNOTDihedral.power(n)¶
Return the compose of a operator with itself n times.
- 매개변수
n (int) – the number of times to compose with self (n>0).
- 반환
the n-times composed operator.
- 반환 형식
- 예외 발생
QiskitError – if the input and output dimensions of the operator are not equal, or the power is not a positive integer.