Sandbox

== Portal == You can use portal:drupal_page syntax to link to pages hosted at our portal, e.g.

  1. portal:jobs
  2. portal:groups

Maps

QASM

Wiki_Width=400

  1. File: test4.qasm
  2. Date: 22-Mar-04
  3. Author: I. Chuang
  4. Sample qasm input file - quantum
  5. fourier transform on three qubits

   def c-S,1,'S'
   def c-T,1,'T'

   qubit   0
   qubit   j1
   qubit   j2
   qubit \psi
   qubit \phi

   h   j0  
   c-S j1,j0
   c-T j2,j0
   nop j1
   h   j1
   c-S j2,j1
   h   j2
   swap    j0,j2

qubit q0 h q0

Category:Miscellaneous

Last modified: 

Monday, October 26, 2015 - 17:56