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
7340c425
Unverified
Commit
7340c425
authored
May 29, 2020
by
Mccaskey, Alex
Committed by
GitHub
May 29, 2020
Browse files
Merge pull request #196 from tnguyen-ornl/tnguyen/fix-cphase
Fixed CPhase gate def
parents
f0c0b38e
2cdd96fb
Pipeline
#104291
passed with stage
in 9 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
quantum/gate/ir/CommonGates.hpp
View file @
7340c425
...
...
@@ -387,7 +387,7 @@ public:
:
Gate
(
"CPhase"
,
qbits
,
std
::
vector
<
InstructionParameter
>
{
InstructionParameter
(
0.0
)})
{}
const
int
nRequiredBits
()
const
override
{
return
1
;
}
const
int
nRequiredBits
()
const
override
{
return
2
;
}
DEFINE_CLONE
(
CPhase
)
DEFINE_VISITABLE
()
...
...
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