Skip to content

Commit

Permalink
Update qasm_synth.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoftco committed Sep 19, 2023
1 parent b9b710b commit 9f9faa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/transformations/qasm_synth.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class ReplaceRZImpl final : public ast::Replacer {

if (gate.name() == "rx" || gate.name() == "ry" || gate.name() == "rz") {

// By the standard qasm header, these instrs have the form
// By the standard qasm header, these instructions have the form
// rz[carg0] qarg0;
// where carg0 does not contain a VarExpr child.
// This is checked during the semantic analysis phase of parsing.
Expand All @@ -91,7 +91,7 @@ class ReplaceRZImpl final : public ast::Replacer {
}
if (verbose_) {
std::cerr << gate.pos()
<< ": finding approxmation for angle = " << (angle)
<< ": finding approximation for angle = " << (angle)
<< '\n';
}
std::string rz_approx = get_rz_approx(angle);
Expand Down

0 comments on commit 9f9faa0

Please sign in to comment.