Problem Statement
Implement the operation of preparing the state from the zero state on a quantum circuit with qubit.
Constraints
- Global phase is ignored in judge.
- The submitted code must follow the specified format:
Hints
Open
- You can apply the quantum gate to the -th qubit of the quantum circuit as follows:
- Please refer to Construct circuits - Qiskit for circuit examples and the What quantum gates can be used? for available quantum gates.