This is the repository for the paper "Variational learning algorithms for quantum query complexity".
Currently, this repo contains the following files:
-
/VarQQAfolder : the main file for the paper, contains the implementation of the variational learning algorithms for quantum query complexity. -
/sdpfolder: contains the SDP solver used in the paper. -
/datafolder: contains the quantum query algorithm found the by VarQQA in this paper.It contains three subfolders-
/data/grover: contains the data for Grover search -
/data/hamming_weight_modulo: contains the data for the Hamming Weight Modulo -
/data/EXACT: contains the data for the$\mathrm{EXACT}_{k,l}^n$ function
-
To reproduce the ressult, create a new python environment with the following command:
conda create -y -n cuda118
conda install -y -n cuda118 -c conda-forge pytorch ipython matplotlib scipy tqdm cvxpy
conda activate cuda118Run the corresponding python file in the /VarQQA for the VarQQA algorithm.