https://github.com/epiqc/ScaffCC
Tip revision: 1b57c8e01a682145f576e101c868ba84ea38ec1b authored by ah744 on 06 August 2016, 01:41:28 UTC
Fixed Rotation Decomposition Naming and BF Type Mismatch
Fixed Rotation Decomposition Naming and BF Type Mismatch
Tip revision: 1b57c8e
cat_state.n04.qasmh
-------QASM Generation Pass:
module catN_IP4_IPx_IPx_IPx_DPx_DPx_DPx_DPx ( qbit* bit ) {
H ( bit[0] );
CNOT ( bit[1] , bit[0] );
CNOT ( bit[2] , bit[1] );
CNOT ( bit[3] , bit[2] );
}
module main ( ) {
qbit bits[4];
catN_IP4_IPx_IPx_IPx_DPx_DPx_DPx_DPx ( bits );
}
--------End of QASM generation