Problem Statement
Implement the operation of preparing the state from the zero state on a quantum circuit with qubits.
The state is defined as
Constraints
- Global phase is ignored in judge.
- The submitted code must follow the specified format:
A2: Generate State
Time Limit: 3 sec
Memory Limit: 512 MiB
Score: 200
Implement the operation of preparing the state from the zero state on a quantum circuit with qubits.
The state is defined as
Please sign in to submit your answer.