Skip to content

Instantly share code, notes, and snippets.

@twobombs
Last active August 18, 2022 19:02
Show Gist options
  • Save twobombs/9d9ec5d6fbca4b960b1df1f6e147b038 to your computer and use it in GitHub Desktop.
Save twobombs/9d9ec5d6fbca4b960b1df1f6e147b038 to your computer and use it in GitHub Desktop.
high qrack runtime scripts
# First of all a big thank you for Dan Strano and all the maintainers of the Qrack repository at the Unitary Fund
# Without their constant effort, focus and guidance all of ThereminQ and its endeavours would simply not exist.
# Please pay their sites a visit https://github.com/unitaryfund/qrack https://unitary.fund/ and join us on discord
# after the install of Qrack ( https://gist.github.com/twobombs/c93f9bbf2afe98d795372d024d6b30d7 )
# and reading the best practices Guide ( https://gist.github.com/twobombs/eee53194f7c3e00332b555bad0ae2ade )
# it is time to run the scripts that are avaliable for it on ThereminQ
# fetch the thereminq repo to get the scripts
git clone https://github.com/twobombs/thereminq.git
cd thereminq/runscripts && chown 744 run*
# stick to the minimum/advised requirements of the installation guide
# change values for qpager and --devices according to your GPU setup and/or requirements
# start low(er) in depth and width to verify operations
Sycamore up to 32 qubits: https://github.com/twobombs/thereminq/blob/master/runscripts/run-sycamore-cube-multi
Sycamore above 32 qubits: https://github.com/twobombs/thereminq/blob/master/runscripts/run-sycamore32plus-cube-multi
T_NN above 32 qubits: https://github.com/twobombs/thereminq/blob/master/runscripts/run-tnn-cube-multi
T_CC_NN above 32 qubits: https://github.com/twobombs/thereminq/blob/master/runscripts/run-tcc-cube-multi
T_CC_DENSE above 32 qubits: https://github.com/twobombs/thereminq/blob/master/runscripts/run-tcc-dense-cube-multi
It is possible that one or more of the runtime scripts are not executable on the prompt because of execution rights
they can be reset by running : cd runscripts && chmod 744 run*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment