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:
A5: Generate state II
Time Limit: 3 sec
Memory Limit: 512 MiB
Score: 100
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.