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: examples/omeinsum_julia/README.md
+6-3
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,18 @@ This example introduces how to use OMEinsum, a julia-based einsum package, to co
4
4
5
5
We provide two solutions:
6
6
7
-
* use subprocess to call a stand-alone julia script (recommended)
7
+
* use subprocess to call a stand-alone julia script (**recommended**)
8
8
* use juliacall to integrate julia script into python (seems to be more elegant, but not recommended)
9
9
10
10
We highly recommend to use the first solution based on subprocess, not only due to its compatibility to julia multi-threading, but also because the experimental KaHyPar-based initialization is developed based on it.
11
11
12
12
## Experiments
13
13
14
14
We test contractors from OMEinsum on Google random circuits ([available online](https://datadryad.org/stash/dataset/doi:10.5061/dryad.k6t1rj8)) and compare with the cotengra contractor.
15
-
For circuits only differ in PRNG seed number (which means with the same tensor network structure, but different tenser entries), we choose the one with the largest seed. For example, we benchmark `circuit_n12_m14_s9_e6_pEFGH.qsim`, but skip
15
+
For circuits only differ in PRNG seed number (which means with the same tensor network structure, but different tensor entries), we choose the one with the largest seed. For example, we benchmark `circuit_n12_m14_s9_e6_pEFGH.qsim`, but skip
16
16
circuits like `circuit_n12_m14_s0_e6_pEFGH.qsim`.
17
17
We list experimental results in [benchmark_results.csv](benchmark_results.csv).
18
+
All experiments are done with a 32GB CPU machine with 16 cores.
18
19
19
20
20
21
Specifically, we test the following three methods:
For circuits with `PathFindingTime` but empty `WallClockTime`, it means we meet OOM when computing with a 32GB CPU machine.
71
74
72
75
For three circuits, namely `circuit_patch_n46_m14_s19_e21_pEFGH`, `circuit_patch_n44_m14_s19_e21_pEFGH` and `circuit_n42_m14_s9_e0_pEFGH`, we meet [errors in OMEinsum](https://github.com/TensorBFS/OMEinsumContractionOrders.jl/issues/35#issuecomment-1405236778), and there results are set to empty in [benchmark_results.csv](benchmark_results.csv).
0 commit comments