These scripts are going to test the performance between MindQuantum and TensorFlow Quantum about gradient calculation on mnist dataset.
Please install TensorFlow Quantum before runing these scripts.
Run the command below to run mnist classification with MindQuantum.
python3 mindquantum_grad.py -n 500 -o 8
Run the command below to run mnist classification with TensorFlow Quantum.
python3 tensorflow_quantum_grad.py -n 500 -o 8