Skip to content

softwareQinc/qpp_bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmarking suite

To run, follow the steps below.

  • Create a virtual environment and activate it
python3 -mvenv venv --prompt bench
source venv/bin/activate

On Windows platforms, replace the activation line with either bench\Scripts\activate.bat (Command Prompt) or .\bench\Scripts\Activate.ps1 (PowerShell).

  • Install the requirements
CMAKE_ARGS="-DENABLE_OPENMP=ON -DLQ_ENABLE_KERNEL_OMP=ON" \
pip install --no-binary=pennylane-lightning --force-reinstall pennylane-lightning && \
pip install -r requirements.txt
  • Run the benchmark
python bench.py

To be able to run the native C++ QPPEngine, first build the required executables

cmake -S cpp -B cpp/build
cmake --build cpp/build
  • For additional help, run
python bench.py --help

About

Benchmarking qpp against other platforms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors