Problem Statement
You are given an integer .
Implement the operation of preparing the state from the zero state on a quantum circuit with qubits.
The quantum state is defined as
Constraints
- Changes in the global phase are ignored.
- The submitted code must follow the specified format:
Sample Input
The implemented quantum circuit should perform the following transformation.