This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update projects, docs, cpp files for QIR stdlib (#1578)
* Update projects, docs, cpp files for QIR stdlib This change updates the remaining example and test projects for using the QIR stdlib via the Microsoft.Quantum.Simulator.Runtime as a QIR backend. This resolves #1560, resolves #1568, and resolves #1569. Note that it does not update the samples under examples\QIR\Simulation as these need to be fully rewritten and likely moved to https://github.com/qir-alliance/qir-runner (see Rewrite or Move docs in examples/QIR/Simulation #1577) * Fix development project QDK version * Update examples/QIR/Optimization/README.md Co-authored-by: Robin Kuzmin <9372582+kuzminrobin@users.noreply.github.com> * Use alternative method for copying build dependencies Co-authored-by: Robin Kuzmin <9372582+kuzminrobin@users.noreply.github.com>
- Loading branch information
1 parent
82e9304
commit 35ac6ce
Showing
12 changed files
with
68 additions
and
2,220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,6 @@ | ||
#include "QirContext.hpp" | ||
#include "QirRuntime.hpp" | ||
#include "SimFactory.hpp" | ||
|
||
using namespace Microsoft::Quantum; | ||
using namespace std; | ||
|
||
extern "C" void Hello__HelloQ(); | ||
|
||
int main(int argc, char* argv[]){ | ||
unique_ptr<IRuntimeDriver> sim = CreateFullstateSimulator(); | ||
QirContextScope qirctx(sim.get(), true /*trackAllocatedObjects*/); | ||
Hello__HelloQ(); | ||
return 0; | ||
} |
Oops, something went wrong.