Passer au contenu principal
SciNet
  • Accueil
  • Tous les cours
  • Calendrier
  • Certificats
  • SciNet
    Site principal Documentation my.SciNet
  • CCDB
  • Plus
Fermer
Activer/désactiver la saisie de recherche
Français
English Français
Vous êtes connecté anonymement
Connexion
SciNet
Accueil Tous les cours Calendrier Certificats SciNet Replier Déplier
Site principal Documentation my.SciNet
CCDB
Tout déplier Tout replier
  1. Tableau de bord
  2. SCMP151 - Jul 2022
  3. Lecture 1, hands on 2

Lecture 1, hands on 2

Conditions d’achèvement
Ouvert le : lundi 25 juillet 2022, 00:00
À rendre : lundi 1 août 2022, 00:00

1. Create two-qubit functions that return the following quantum states:

  • \(\left|\psi_+\right\rangle = \frac{1}{\sqrt{2}}\left(\left|00\right\rangle + \left|11\right\rangle\right)\)
  • \(\left|\psi_-\right\rangle = \frac{1}{\sqrt{2}}\left(\left|00\right\rangle - \left|11\right\rangle\right)\)
  • \(\left|\phi_+\right\rangle = \frac{1}{\sqrt{2}}\left(\left|01\right\rangle + \left|10\right\rangle\right)\)
  • \(\left|\phi_-\right\rangle = \frac{1}{\sqrt{2}}\left(\left|01\right\rangle - \left|10\right\rangle\right)\)


2. Write a function that implements the SWAP gate, using only CNOT gates.  How many CNOT gates are needed?

3. Write a function which implements a Controlled-controlled-CNOT gate (left image) using only Toffoli gates (centre) and an auxiliary qubit (right).



Contacter l’assistance du site
Vous êtes connecté anonymement (Connexion)
Résumé de conservation de données


All content on this website is made available under the Creative Commons Attribution 4.0 International licence, with the exception of all videos which are released under the Creative Commons Attribution-NoDerivatives 4.0 International licence.
Fourni par Moodle