fixed free() pointer error that was throwing segfaults on newer systems
[strong_simulation_stabilizer_rank.git] / README.txt
index 6a53e3a562a19f61c28203e97e52acc5b3c7d615..2ff284e776da625c5331b499b59ff5a7b9dd1ad5 100644 (file)
@@ -1,6 +1,12 @@
 Strong simulation of multi-Pauli measurements using minimal stabilizer state decompositions
 -------------------------------------------------------------------------------------------
 
+PREREQUISITES:
+
+You will need the Lapacke library to run strongsim[1-12]_rellerr.c (in particular, the lapacke.h header).
+For instance, in Debian, you can obtain this by running:
+$ sudo apt install liblapacke-dev
+
 BUILD:
 
 1. We start with the code that scales quadratically with stabilizer rank because it calculates expectation values to zero relative error. Build code for stabilizer rank tensor multiple you'd like to use. Here we choose k=6.
@@ -24,7 +30,7 @@ $ sudo ldconfig
 $ make randominputcommutingHermitianPauli2
 
 5. Build code for generating random (non-commuting) Pauli inputs (good enough for the strongsim[1-12].c code).
-$ make randominputFauli
+$ make randominputPauli
 
 6. Build Hilbert vector space code to check our results.
 $ make multipauli