Skip to content

Commit

Permalink
Merge pull request #513 from mofeing/patch-1
Browse files Browse the repository at this point in the history
Fix `FSimGate` plotting
  • Loading branch information
GiggleLiu authored Jun 5, 2024
2 parents 5efb15e + d0d32cc commit 13ff2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EasyBuild/block_extension/FSimGate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ function fsim_block(θ::Real, ϕ::Real)
end
end

YaoPlots.get_brush_texts(c, b::FSimGate) = (c.gatestyles.g, "FSim($(pretty_angle(b.theta)), $(pretty_angle(b.phi)))")
YaoPlots.get_brush_texts(c, b::FSimGate) = (c.gatestyles.g, "FSim($(YaoPlots.pretty_angle(b.theta)), $(YaoPlots.pretty_angle(b.phi)))")

0 comments on commit 13ff2e6

Please sign in to comment.