summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/yquant/doc/qasm/test10.qasm
blob: 4f788eb36c0838a324b87fcdd3e4d281349a17b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 
# File:	  test10.qasm
# Date:	  22-Mar-04
# Author: I. Chuang <ichuang@mit.edu>
#
# Sample qasm input file - multi-qubit gates
# also demonstrates use of classical bits 

	qubit	q0	
	cbit	c1
	qubit	q2
	
	h	q0
	Utwo	q0,c1
	S	q2
	Utwo	c1,q2