Problem Statement
Implement the operation of preparing the plus state from the zero state on a quantum circuit with qubit.
The plus state is defined as
Constraints
- Changes in the global phase are ignored.
- 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 an example circuit configuration and the QuantumCircuit class documunation for a list of available quantum gates.