Skip to content

Commit

Permalink
rm cx
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger-luo committed Oct 29, 2023
1 parent 993b8be commit baa8027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RBNF.@parser QASMLang begin
uop = (inst | ugate | csemantic_gate)
inst::Instruction := [name = id, ['(', [cargs = explist].?, ')'].?, qargs = bitlist, ';']
ugate::UGate := [:U, '(', z1 = exp, ',', y = exp, ',', z2 = exp, ')', qarg = bit, ';']
csemantic_gate::CXGate := [:CX | :cx, ctrl = bit, ',', qarg = bit, ';']
csemantic_gate::CXGate := [:CXGate, ctrl = bit, ',', qarg = bit, ';']

idlist = @direct_recur begin
init = [id]
Expand Down

0 comments on commit baa8027

Please sign in to comment.