https://github.com/epiqc/ScaffCC
Raw File
Tip revision: c89857074e85d3e843cda9f33a19a30808b40c06 authored by EPiQC on 08 July 2019, 18:49:30 UTC
Merge pull request #36 from AndrewLitteken/ScaffCC_OSX
Tip revision: c898570
miscellaneous.qasmh
-------QASM Generation Pass:

module main (  ) {
 	qbit qb[4];
	cbit cb[2];
	PrepZ ( qb[0] , 0 );
 	PrepZ ( qb[1] , 1 );
 	PrepX ( qb[2] , 0 );
 	PrepX ( qb[3] , 1 );
 	Fredkin ( qb[0] , qb[1] , qb[2] );
 	cb[0] = MeasX ( qb[2] );
 	cb[1] = MeasZ ( qb[3] );
 }

--------End of QASM generation
back to top