Skip to content

Commit 4931a03

Browse files
authored
[DOCS] Update links for operator definitions (#1627)
1 parent fb858d1 commit 4931a03

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/lib/SiteTypes/src/sitetype.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ There are currently a few built-in site types
3434
recognized by `jl`. The system is easily extensible
3535
by users. To add new operators to an existing site type,
3636
or to create new site types, you can follow the instructions
37-
[here](https://itensor.github.io/jl/stable/examples/Physics.html).
37+
[here](https://itensor.github.io/ITensors.jl/stable/examples/Physics.html).
3838
3939
The current built-in site types are:
4040
@@ -106,8 +106,8 @@ Many operators are available, for example:
106106
`"Cdagup"`, `"Cdn"`, `"Cdagdn"`, `"Sz"`, `"Sx"`, `"Sy"`, `"S+"`, `"S-"`, ...
107107
- ...
108108
109-
You can view the source code for the internal SiteType definitions
110-
and operators that are defined [here](https://github.com/ITensor/jl/tree/main/src/physics/site_types).
109+
You can view the internal SiteType definitions and operators
110+
[here](https://itensor.github.io/ITensors.jl/stable/IncludedSiteTypes.html).
111111
"""
112112
SiteType(s::AbstractString) = SiteType{SmallString(s)}()
113113

@@ -228,9 +228,9 @@ s = Index(2, "Site,S=1/2")
228228
Sz = op("Sz", s)
229229
```
230230
231-
To see all of the operator names defined for the site types included with
232-
ITensor, please view the [source code](https://github.com/ITensor/jl/tree/main/src/physics/site_types)
233-
for each site type. Note that some site types such as "S=1/2" and "Qubit"
231+
You can see all of the operator names defined for the site types included
232+
with ITensor [here](https://itensor.github.io/ITensors.jl/dev/IncludedSiteTypes.html).
233+
Note that some site types such as "S=1/2" and "Qubit"
234234
are aliases for each other and share operator definitions.
235235
"""
236236
function op(name::AbstractString, s::Index...; adjoint::Bool=false, kwargs...)

0 commit comments

Comments
 (0)