Problem Statement
You are given an integer . Implement the operation of preparing the uniform superposition state from the zero state on a quantum circuit with qubits.
The uniform superposition state is defined as
Constraints
- Global phase is ignored in judge.
- The submitted code must follow the specified format: ((format to be added during rendering))
Sample Input
- : Implemented circuit should perform the following transformation.
Hints
Open
- You can apply the quantum gate to all the qubits of the quantum circuit as follows: