final first commit

This commit is contained in:
2026-05-19 17:19:36 +08:00
commit b199e2105e
114 changed files with 6844 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
"""Generate random bitstrings for Hidden Shift circuit benchmarks."""
import numpy as np
file = open("random_bitstrings.dat", "w")
for nqubits in range(3, 31):
bitstring = np.random.randint(0, 2, (nqubits,))
bitstring = "".join(str(x) for x in bitstring)
file.write(bitstring)
file.write("\n")
print(bitstring)
file.close()