Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
93c33074
Commit
93c33074
authored
May 24, 2021
by
Mccaskey, Alex
Browse files
fixing copy and paste error, cy decomp was incorrect
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
47113ef9
Changes
1
Hide whitespace changes
Inline
Side-by-side
quantum/gate/utils/AllGateVisitor.hpp
View file @
93c33074
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment