Skip to content

Commit 6edf90d

Browse files
Fe-r-ozytdHuang
andauthored
Update src/visualization.jl
Co-authored-by: Yi-Te Huang <[email protected]>
1 parent ad30f0f commit 6edf90d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/visualization.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ A structure representing a Bloch sphere visualization for quantum states.
118118
- `view_angles::Tuple{Int,Int}}`: Azimuthal and elevation viewing angles in degrees (default: (-60, 30))
119119
120120
## Label properties
121-
- `xlabel::Vector{String}}`: Labels for x-axis (default: ["x", ""])
121+
- `xlabel::Vector{AbstractString}}`: Labels for x-axis (default: [L"x", ""])
122122
- `xlpos::Vector{Float64}}`: Positions of x-axis labels (default: [1.0, -1.0])
123-
- `ylabel::Vector{String}}`: Labels for y-axis (default: ["y", ""])
123+
- `ylabel::Vector{AbstractString}}`: Labels for y-axis (default: [L"y", ""])
124124
- `ylpos::Vector{Float64}}`: Positions of y-axis labels (default: [1.0, -1.0])
125-
- `zlabel::Vector{String}}`: Labels for z-axis (default: ["|0", "|1"])
125+
- `zlabel::Vector{AbstractString}}`: Labels for z-axis (default: [L"|0\rangle", L"|1\rangle"])
126126
- `zlpos::Vector{Float64}}`: Positions of z-axis labels (default: [1.0, -1.0])
127127
"""
128128
@kwdef mutable struct Bloch

0 commit comments

Comments
 (0)