Skip to content

Commit 89b036e

Browse files
committed
fix typos
1 parent 9c6f78f commit 89b036e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/users_guide/plotting_the_bloch_sphere.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ At the end of the last section we saw that the colors and marker shapes of the d
193193
| `b.ylabel` | Labels for y-axis | `[L"y", ""]` |
194194
| `b.ylpos` | Positions of y-axis labels | `[1.0, -1.0]` |
195195
| `b.zlabel` | Labels for z-axis | `[1.0, -1.0]` |
196-
| `b.zlpos` | Positions of z-axis labels | `[L"|0\rangle", L"|1\rangle"]` |
196+
| `b.zlpos` | Positions of z-axis labels | `[L"\|0\rangle", L"\|1\rangle"]` |
197197

198198
These properties can also be accessed via the `print` command:
199199

src/visualization.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Add a single point to the Bloch sphere visualization.
207207
- `pnt::Vector{Float64}`: A 3D point to add
208208
- `meth::Symbol=:s`: Display method (`:s` for single point, `:m` for multiple, `:l` for line)
209209
- `color`: Color of the point (defaults to first default color if nothing)
210-
- `alpha=1.0`: Transparency (`1.0` = opaque, `0.0` = transparent)
210+
- `alpha=1.0`: Transparency (`1.0` means opaque and `0.0` means transparent)
211211
"""
212212
function add_points!(b::Bloch, pnt::Vector{Float64}; meth::Symbol = :s, color = nothing, alpha = 1.0)
213213
return add_points!(b, reshape(pnt, 3, 1); meth, color, alpha)
@@ -227,7 +227,7 @@ Add multiple points to the Bloch sphere visualization.
227227
- `pnts::Matrix{Float64}`: `3×N` matrix of points (each column is a point)
228228
- `meth::Symbol=:s`: Display method (`:s` for single point, `:m` for multiple, `:l` for line)
229229
- `color`: Color of the points (defaults to first default color if nothing)
230-
- `alpha=1.0`: Transparency (`1.0` = opaque, `0.0` = transparent)
230+
- `alpha=1.0`: Transparency (`1.0` means opaque and `0.0` means transparent)
231231
```
232232
"""
233233
function add_points!(

0 commit comments

Comments
 (0)