Revision 0c99b1003662bd784e6c4d9d5053874918cc5ade authored by EPiQC on 08 July 2019, 21:28:06 UTC, committed by GitHub on 08 July 2019, 21:28:06 UTC
Segmentation Faults and Fixes to Run main branch on macOS
ccRz.scaffold
// doubly - controlled Rz circuit with angle
// decompose in terms of V = sqrt(U)
module ccRz (
qbit ctrl0,
qbit ctrl1,
qbit target,
const double angle
) {
cRz (ctrl1, target, angle/2);
CNOT (ctrl0, ctrl1);
cRz (ctrl1, target, -angle/2);
CNOT (ctrl0, ctrl1);
cRz (ctrl0, target, angle/2);
}

Computing file changes ...