-
Notifications
You must be signed in to change notification settings - Fork 919
Update to latest IBMQuantumExperience interface #71
Conversation
Simplified the code to just wait for the timeout. Much simpler and more reliable. Sometimes the environment is fast enough that this just works. |
Console.WriteLine($"Result of Hadamard is {result}"); | ||
var factory = new IbmQx4(apiKey); //Using different Factory | ||
Console.WriteLine("Hadamard on IBMQx4"); | ||
for (int i = 0; i < 1; i++) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved the if statement, so it halts after the message. Otherwise one wouldn't see it.
The diff, makes it look wierd.
Samples/Qiskit/Qiskit.csproj
Outdated
@@ -8,7 +8,7 @@ | |||
</PropertyGroup> | |||
<ItemGroup> | |||
<Content Include="QiskitInterface.py"> | |||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | |||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Accidental inclusion. Will correct.
Ok |
@kok11 thanks. |
Somehow I missed this had been updated. Sorry for the delay. |
Upgrade to the latest interface (which doesn't always give an expected queue size).