quantum-compiler / quartz

The Quartz Quantum Compiler
Apache License 2.0
77 stars 19 forks source link

A Fresh Installation on Windows #73

Closed xumingkuan closed 1 year ago

xumingkuan commented 1 year ago

This issue is to track the steps of a fresh installation on my Windows laptop on Feb 13, 2023.

Prerequisites

Build Quartz Runtime

git clone --recursive https://github.com/quantum-compiler/quartz.git
cd quartz
conda env create --name quartz --file env.yml
conda activate quartz
pip3 install -r python/requirements.txt
mkdir build
cd build
cmake ..

Use Visual Studio 2019 to open quartz/build/Quartz.sln, click Build -> Build Solution (F7). Then return to the command line:

:: Should be at the build/ directory of Quartz now
"Debug/test_all.exe"

Optional: CLion Integration

Additional prerequisites:

CLion settings: