Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Update to latest IBMQuantumExperience interface #71

Merged
merged 11 commits into from
Aug 1, 2018
Merged

Update to latest IBMQuantumExperience interface #71

merged 11 commits into from
Aug 1, 2018

Conversation

RolfHuisman
Copy link
Contributor

@RolfHuisman RolfHuisman commented Jun 30, 2018

Upgrade to the latest interface (which doesn't always give an expected queue size).

@RolfHuisman
Copy link
Contributor Author

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++)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Contributor Author

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.

@@ -8,7 +8,7 @@
</PropertyGroup>
<ItemGroup>
<Content Include="QiskitInterface.py">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidental inclusion. Will correct.

@kok11
Copy link

kok11 commented Jul 4, 2018

Ok

@RolfHuisman
Copy link
Contributor Author

@kok11 thanks.

@anpaz anpaz merged commit cb3c4dd into microsoft:master Aug 1, 2018
@anpaz
Copy link
Member

anpaz commented Aug 1, 2018

Somehow I missed this had been updated. Sorry for the delay.

@RolfHuisman RolfHuisman deleted the UpdateQasmRunner branch August 2, 2018 06:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants