https://github.com/epiqc/ScaffCC
Raw File
Tip revision: 1b57c8e01a682145f576e101c868ba84ea38ec1b authored by ah744 on 06 August 2016, 01:41:28 UTC
Fixed Rotation Decomposition Naming and BF Type Mismatch
Tip revision: 1b57c8e
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