Skip to content

Commit

Permalink
Latexify AbstractSingleBosonOp instead of AbstractSingleBosonGate (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
akirakyle authored Nov 14, 2024
1 parent c41ff6b commit 9b76d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QSymbolicsBase/latexify.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ end
@latexrecipe function f(x::Union{SpecialKet,SKet})
return Expr(:latexifymerge, "\\left|", symbollabel(x), "\\right\\rangle")
end
@latexrecipe function f(x::Union{SOperator,SHermitianOperator,SUnitaryOperator,SHermitianUnitaryOperator,AbstractSingleQubitOp,AbstractTwoQubitOp,AbstractSingleBosonGate})
@latexrecipe function f(x::Union{SOperator,SHermitianOperator,SUnitaryOperator,SHermitianUnitaryOperator,AbstractSingleQubitOp,AbstractTwoQubitOp,AbstractSingleBosonOp})
return LaTeXString("\\hat $(symbollabel(x))")
end
@latexrecipe function f(x::SZero)
Expand Down

0 comments on commit 9b76d2c

Please sign in to comment.