QuTech-Delft / OpenQL

OpenQL: A Portable Quantum Programming Framework for Quantum Accelerators. https://dl.acm.org/doi/10.1145/3474222
https://openql.readthedocs.io
Other
99 stars 44 forks source link

Fix Windows compilation with MSVC #327

Closed razvnane closed 4 years ago

razvnane commented 4 years ago

This PR fixes the broken compilation on Windows due to the addition of the eigen library needed by the unitary decomposition as well as to some inconsistencies in how platform strings are accessed (done recently to clean up the backend code).

imranashraf commented 4 years ago

I will also suggest to use Chocolately for setting up software on windows. This will make it very easy to setup development software on windows as everything can be scripted. for instance, gcc (MinGW) can be installed with a single command:

choco install mingw

This will also result in a lot less space requirement on windows.