Unverified Commit 7340c425 authored by Mccaskey, Alex's avatar Mccaskey, Alex Committed by GitHub
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
......@@ -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()
......
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