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.qasm
OPENQASM 2.0;
include "qelib1.inc";
qreg qb[4];
creg cb[2];
reset qb[0];
reset qb[1];
x qb[1];
reset qb[2];
h qb[2];
reset qb[3];
x qb[3];
h qb[3];
cx qb[1], qb[2];
ccx qb[0], qb[1], qb[2];
cx qb[1], qb[2];
h qb[2];
measure qb[2] -> cb[0];
measure qb[3] -> cb[1];

back to top