Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quantum-kittens
GitHub Repository: quantum-kittens/platypus
Path: blob/main/notebooks/problem-sets/single_systems_problem_set.ipynb
3353 views
Kernel: Python 3

Single Systems - Problem Set

Problem 1

Quick quiz

Which one of these is a valid probability vector?

  1. (212)\begin{pmatrix} \sqrt{2}\\\\ 1 - \sqrt{2} \end{pmatrix}

  1. (0.30.3)\begin{pmatrix} 0.3 \\\\ 0.3 \end{pmatrix}

  1. (010)\begin{pmatrix} 0 \\\\ 1 \\\\ 0 \end{pmatrix}

Problem 2

Quick quiz

Which one of these is matrices is unitary?

  1. (1010)\begin{pmatrix} 1 & 0 \\\\ 1 & 0 \end{pmatrix}

  1. (012i20)\begin{pmatrix} 0 & \frac{1}{2} \\\\ \frac{-i}{2} & 0 \end{pmatrix}

  1. (100i)\begin{pmatrix} 1 & 0 \\\\ 0 & i \end{pmatrix}

Problem 3

Using Qiskit, create a QuantumCircuit that represents the following state:

β01=12(00+10)|\beta_{01} \rangle = \frac{1}{\sqrt2}(|00\rangle + |10\rangle)

from qiskit import * # Start your work here. # We've provided the circuit that is shown above # Your circuit MUST be named qc qc = QuantumCircuit(2) qc.draw()

Problem 4

Using Qiskit, create a QuantumCircuit that represents the following state:

β10=12(0011)|\beta_{10} \rangle = \frac{1}{\sqrt2}(|00\rangle - |11\rangle)

from qiskit import * # Start your work here. # We've provided the circuit that is shown above # Your circuit MUST be named qc qc = QuantumCircuit(2) qc.draw()

Problem 5

Using Qiskit, create a QuantumCircuit that represents the following state:

β11=12(0110)|\beta_{11} \rangle = \frac{1}{\sqrt2}(|01\rangle - |10\rangle)

from qiskit import * # Start your work here. # We've provided the circuit that is shown above # Your circuit MUST be named qc qc = QuantumCircuit(2) qc.draw()