Skip to content

Commit 2a363f8

Browse files
authored
Update README.md
1 parent 318fcc2 commit 2a363f8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,24 @@ GraphTensorNetworks is a  
1212
</a>
1313
&nbsp; package. To install GraphTensorNetworks,
1414
please <a href="https://docs.julialang.org/en/v1/manual/getting-started/">open
15-
Julia's interactive session (known as REPL)</a> and press <kbd>]</kbd> key in the REPL to use the package mode, then type the following command
15+
Julia's interactive session (known as REPL)</a> and press <kbd>]</kbd> key in the REPL to use the package mode, then
1616
</p>
1717

18+
1. if you have access to the a registry
1819
```julia
1920
pkg> add GraphTensorNetworks
2021
```
2122

23+
2. otherwise (e.g. if you are an external collaborator), you can install in develop mode
24+
```julia
25+
pkg> dev https://github.com/Happy-Diode/GraphTensorNetworks.jl.git # if you have access to the registry
26+
```
27+
2228
Please use **Julia-1.7**, otherwise you will suffer from huge overheads when contracting large tensor networks. If you have to use a lower version,
23-
you can avoid the overhead by overriding the `permutedims!` is `LinearAlgebra`.
29+
you can avoid the overhead by overriding the `permutedims!` is `LinearAlgebra`, i.e. add the following code to your own project.
2430

2531
```julia
32+
# only required when your Julia version < 1.7
2633
using TensorOperations, LinearAlgebra
2734
function LinearAlgebra.permutedims!(C::Array{T,N}, A::StridedArray{T,N}, perm) where {T,N}
2835
if isbitstype(T)

0 commit comments

Comments
 (0)