Skip to content

Commit

Permalink
Latexify AbstractSingleBosonOp instead of AbstractSingleBosonGate
Browse files Browse the repository at this point in the history
  • Loading branch information
akirakyle committed Nov 12, 2024
1 parent c41ff6b commit 6d86ce6
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 6d86ce6

Please sign in to comment.