Commit 93c33074 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

fixing copy and paste error, cy decomp was incorrect


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 47113ef9
......@@ -66,12 +66,12 @@ public:
void visit(Z &h) override {}
void visit(CY &cy) override {
Hadamard h(cy.bits()[1]);
Sdg sdg(cy.bits()[1]);
CNOT cn(cy.bits());
Hadamard h2(cy.bits()[1]);
visit(h);
S s(cy.bits()[1]);
visit(sdg);
visit(cn);
visit(h2);
visit(s);
}
void visit(CZ &cz) override {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment