https://github.com/epiqc/ScaffCC
Raw File
Tip revision: fb0341d7eb6d3ae899a20f913e9f550f738d1bea authored by ah744 on 22 December 2016, 07:02:43 UTC
afree patch
Tip revision: fb0341d
scaffold_lib.cpp

#include <string.h>
#include <iostream>
#include <map>
#include <utility>

#ifndef __SCAFFOLD_LIB
#define __SCAFFOLD_LIB

unsigned int HGateCount = 0;
unsigned int TGateCount = 0;
unsigned int TdagGateCount = 0;
unsigned int XGateCount = 0;
unsigned int ZGateCount = 0;
unsigned int RzGateCount = 0;

void X (qbit *x) {
    std::cout << "\tX " << x->getName() << std::endl;
    XGateCount++;
}

#endif // __SCAFFOLD_LIB

int main() {
}

back to top