Skip to content

Commit 6ec3223

Browse files
Update ext/QuantumToolboxMakieExt.jl
Co-authored-by: Alberto Mercurio <[email protected]>
1 parent 8ee40eb commit 6ec3223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/QuantumToolboxMakieExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ function _add_labels(ax)
774774
end
775775

776776
function QuantumToolbox.plot_bloch(::Val{:Makie}, state::QuantumObject{<:Union{Ket,Bra}}; kwargs...)
777-
state = isbra(state) ? dag(state) : state
777+
state = isbra(state) ? state' : state
778778
bloch_vec = _state_to_bloch(state)
779779
return _render_bloch_makie(bloch_vec; kwargs...)
780780
end

0 commit comments

Comments
 (0)