Sampler Node#
Prerequisites:
nodejs >= 20
python >= 3.9
Install IPFS:
Initialize and run the IPFS daemon:
ipfs init
ipfs daemon
Install near-cli:
npm i -g near-cli
Create an account:
near create-account [NAME]_dqpu_sampler.testnet --useFaucet
Install the sampler software:
git clone https://github.com/dakk/dqpu
cd dqpu
pip install -r requirements.txt
python setup.py install
Run the sampler:
dqpu-sampler -a NAME_dqpu_sampler.testnet --max-deposit 0.1 --sampler aersimulator --max-qubits 21
More qubits you support, more ram is needed but greater is the reward.
Update the software#
cd dqpu
git pull
python setup.py install