You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/cft.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The `CFTData` struct has two fields:
26
26
-`scaling_dimensions`
27
27
28
28
The `central_charge` can be either `missing` (when using the $[1, 1, 0]$ shape), or a number.
29
-
The `scaling_dimensions` field is a `SectorVector` from TensorKit.jl.
29
+
The `scaling_dimensions` field is a `StructuredVector`.
30
30
31
31
The `scaling_dimensions` can be indexed like an `AbstractVector` (i.e. with scalars, slices, ...), or with sectors (e.g. `Z2Irrep(0)`), which will provide the scaling dimensions associated with that sector/charge.
32
32
To check which sectors you can index the `scaling_dimensions` with you can use `keys(scaling_dimensions)`.
Base.:*(a::Number, v::TensorKit.SectorVector) =scale(v, a)
40
-
Base.:*(v::TensorKit.SectorVector, a::Number) =scale(v, a)
41
-
42
1
"""
43
2
CFTData{E, I} where {E, I}
44
3
@@ -51,15 +10,15 @@ A struct to hold conformal data extracted from a TNR scheme.
51
10
52
11
# Fields
53
12
- `central_charge::Union{E, Missing}`: The central charge of the CFT. Will be `nothing` if not calculated.
54
-
- `scaling_dimensions::TensorKit.SectorVector{E, I}`: The scaling dimensions of the CFT, organized in a `TensorKit.SectorVector` where the sectors correspond to different spin sectors (or other quantum numbers) and the data contains the scaling dimensions within those sectors
13
+
- `scaling_dimensions::StructuredVector{E, K, V, A}`: The scaling dimensions of the CFT, organized in a `StructuredVector` where the sectors correspond to different spin sectors (or other quantum numbers) and the data contains the scaling dimensions within those sectors
55
14
56
15
"""
57
-
struct CFTData{E, I}
16
+
struct CFTData{E, K, V, A <:AbstractVector{E}}
58
17
"Central charge of the CFT. Will be `nothing` if not calculated."
0 commit comments