Unverified Commit f83e1825 authored by Mccaskey, Alex's avatar Mccaskey, Alex Committed by GitHub
Browse files

Merge pull request #471 from tnguyen-ornl/tnguyen/minor-quil-visitor-update

Quil visitor to use theta string rather than trying to cast to double
parents 9a05f149 044059d4
Pipeline #157611 passed with stage
in 22 minutes and 8 seconds
......@@ -146,7 +146,7 @@ public:
quilStr += "RY("+angleStr+") " + qubit + "\n";
} else {
Rx rx1(ry.bits()[0], xacc::constants::pi/2.);
Rz rz1(ry.bits()[0], ry.getParameter(0).as<double>());
Rz rz1(ry.bits()[0], angleStr);
Rx rx2(ry.bits()[0], -xacc::constants::pi/2.);
Supports Markdown
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