Skip to content

Commit cef30d4

Browse files
authored
Update README.md
1 parent 5cc3436 commit cef30d4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ where each tensor is defined
1616

1717
>![ABCD2](ABCD2.png)
1818
19-
First we start by including `SweepContractor.jl`, which we achieve by running
19+
First we need to install `SweepContract.jl`, which we do by running
20+
```julia
21+
import Pkg
22+
Pkg.add("SweepContractor")
23+
```
24+
Now that it's install we can use the package by running
2025
```julia
21-
using Pkg; Pkg.add(url="https://github.com/chubbc/SweepContractor.jl")
2226
using SweepContractor
2327
```
2428
Next we need to define our network. We do this by initialising a `LabelledTensorNetwork`, which allows us to have a tensor network with elements labelled by an arbitrary type, in our case `Char`.

0 commit comments

Comments
 (0)