This repository was archived by the owner on Jun 9, 2023. It is now read-only.
Visualizing Quantum State (for Linux) #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
This PR continues the work done in New playground: Visualizing Quantum State. While the latter added visualization capabilities for macOS/iOS, this one does the same for Linux.
How
The new code in this PR relies in 2 different external dependencies:
Although this PR is fully functional, the dependencies are imported with Swift Packages that are not part of QISKit organization. Until this is fixed, this PR has to be kept on hold.
FTR, the next LTS of Ubuntu will bring back GTK+ as main window manager, so to depend in WebKitGTK+ should not be troublesome (I think). About LAPACK, this is in fact a dependency of the C++ simulator, which as far as I know, will eventually be integrated in this Swift repo, so I guess it should be troublesome either.
Notice
The demo app for Linux relies on SPM to import the QISKit framework and, although the package is included with a relative path, it is mandatory to specify a tag. What I am trying to say is that, in order to test the app, if you download my own repo you will have to tag the last commit in VisualizingQuantumState branch with 0.1.0; if you merge this PR in the main repo, you will have to tag the last commit with the former tag afterward, otherwise swift build will fail.