From fb0573ec1a6fe496cbbf1c57a9f7ebed89571aed Mon Sep 17 00:00:00 2001 From: poojashresthacode <143756553+poojashresthacode@users.noreply.github.com> Date: Mon, 18 Sep 2023 00:22:20 -0400 Subject: [PATCH] Add files via upload --- MULTIPLICATIONAL.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 MULTIPLICATIONAL.md diff --git a/MULTIPLICATIONAL.md b/MULTIPLICATIONAL.md new file mode 100644 index 0000000..1e78c08 --- /dev/null +++ b/MULTIPLICATIONAL.md @@ -0,0 +1,23 @@ +# Quantum Circuit Documentation + +## Overview + +This documentation explains a quantum circuit created using Qiskit and visualized with the IBM Quantum Composer widget. The circuit involves qubit initialization, Hadamard gates, and a Toffoli gate (CCX gate), ultimately measuring one qubit's state into a classical register. + +## Quantum Circuit Description + +The quantum circuit consists of the following steps: + +1. Initialization: + - Create a 3-qubit quantum register (`q0`). + - Create a 1-bit classical register (`c0`). + - Reset qubits `q0[0]`, `q0[1]`, and `q0[2]` to the |0> state. + 2. Quantum Gate Operations: + - Apply a Hadamard gate (`H`) on qubits `q0[0]` and `q0[1]`. + - Apply a Toffoli gate (`CCX`) with control qubits `q0[0]` and `q0[1]` and target qubit `q0[2]`. + +3. Measurement: + - Measure the final state of qubit `q0[2]` into classical register `c0[0]`. + +4. Visualization: + - The quantum circuit is visualized using the IBM Quantum Composer widget, allowing for an interactive exploration of the circuit.