diff --git a/exercises/01_exercise.ipynb b/exercises/01_exercise.ipynb index 20a5d99..3675365 100644 --- a/exercises/01_exercise.ipynb +++ b/exercises/01_exercise.ipynb @@ -359,6 +359,61 @@ "outputs": [], "source": [] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Problem 4: Create mini magic Quantum Circuit (Superposition + Phase + Entanglement) " + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Q: Create a quantum circuit which consist of a 2-qubit quantum register and a 2-bit classical register. " + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [] + }, +{ + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Q: Apply a **Hadamard gate** to the first qubit to create superposition ,then apply a **controlled X-gate** between the two qubit to introduced entanglement " + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Q: Apply a **phase rotation** of pi/4 to first qubit using a **phase gate**,then measure both qubit " + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [] + }, { "cell_type": "markdown", "metadata": {},