Comments (3)
@LAJIidea, can you please double-check that you have the Spectre-mitigated libraries installed? (for more info, in this readme search for "spectre")
Compare mine output below against your pictures and see the fragment "spectre" in the paths below (make sure that on your machine you really have paths containing "lib/spectre/x64", see this line).
INFO*** install loc: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.32.31326/lib/spectre/x64;C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.32.31326/atlmfc/lib/spectre/x64
INFO*** using spectre lib: debug;C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.32.31326/lib/spectre/x64/libcmtd.lib;optimized;C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.32.31326/lib/spectre/x64/libcmt.lib
INFO*** using spectre lib: debug;C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.32.31326/lib/spectre/x64/libcpmtd.lib;optimized;C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.32.31326/lib/spectre/x64/libcpmt.lib
INFO*** using spectre lib: debug;C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.32.31326/lib/spectre/x64/libvcruntimed.lib;optimized;C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.32.31326/lib/spectre/x64/libvcruntime.lib
Otherwise you can do some more investigation/experiments in this fragment.
From your pictures I see that in this line the environment variable SPECTRE_LIB_PATH
is empty (in your pictures see the fragment *** install loc:
).
And later in this fragment the libraries (in your picture) are found in the paths not containing "spectre" (i.e. the non-spectre-mitigated libs are found).
In your experiments you can use the message command to see the values of different variables at different stages of the fragment(s) of interest.
from qsharp-runtime.
Oh, @LAJIidea, the problem might already been fixed by this PR 6 days ago (in which case it means that locally you have newer spectre-mitigated libs than the scripts were expecting before the PR, see in the PR the change in line 44)
from qsharp-runtime.
If the problem is already fixed then feel free to close this GitHub issue and/or let us know in this discussion.
from qsharp-runtime.
Related Issues (20)
- Dump the Bloch sphere coordinates of a Qubit (from the simulator) HOT 2
- QirArray::buffer: Proper alignment is not guaranteed. HOT 1
- With LLVM-14 the Leak Sanitizer crashes after completion of `fullstate-simulator-tests`
- DumpMachine output uses different ket symbols depending on the relative phase HOT 4
- Inconsistent output for QuantumSimulator vs SparseSimulator HOT 3
- Trace throws exception on controlled operation HOT 1
- DumpMachine does not produce console output when running from Q# unit tests
- ModPowL may entry a loops when set exponent to "0L" HOT 1
- Ceiling(NaN()) causes an overflow HOT 2
- Simulators behave differently when not resetting qubit array
- TraceSimulator and ResourcesEstimator depth is incorrect with measurements
- Submitting to Azure Quantum hardware targets from localized environments with decimal separators other than `.` can fail
- AssertOperationsEqualInPlace incorrectly throws exceptions and has incorrect error messages. HOT 3
- A wrong display when using DumpMachine()
- Big value cause an overflow of Truncate
- Unable to load DLL 'Microsoft.Quantum.Simulator.Runtime' when running Q# test project
- DumpMachine() raise Unhandled exception
- Endianness of Sparse Simulator DumpMachine is Stateful
- Quantum sample project run crashes with "exited with code 134" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qsharp-runtime.