Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd Python host programs to chemistry samples. #233
Comments
|
We are working on a samples re-organization, it would be best for those interesting in helping with this issue to work on it after #235 has been merged. |
|
Hello, are you still looking for help with this issue? Also this is my first time contributing to Open Source but this seems like a simple issue. |
|
@deadmau6: Thanks for your patience, we'd definitely appreciate help with this one! We recently added several Python host programs to the samples in the |
|
Update: Questions: I'm just thinking it would be easier to provide updates if there was a task list I could check off like |
|
Thanks, @deadmau6! For Thanks for the suggestion of a sub-issues list, probably the easiest way to do that is for me to edit the original issue with |
|
@cgranade, quick update, sorry it has taken me so long. I am nearly complete with all of the samples, but I hit a wall with most of the chemistry samples. I feel like I am missing something like a library, but I have everything done except for |
|
My apologies for the delay, @deadmau6, just getting spun back up after a vacation. In any case, the chemistry host programs are definitely the hardest to adapt, as there's a lot of pre- and post-processing that happens in the classical hosts to load problem descriptions. Especially given planned simplifications such as #203, I agree with making a PR for the other host programs for now, that sounds like a great idea. Thank you again for all your help! |
|
Awesome! And no worries I actually made some progress since I last spoke, not enough to add to this PR but if there is a better place I'd love to share what I got. Anyways I'll submit the PR once I get home tonight. |
|
Thanks again for your contribution, @deadmau6! I think that brings us down to just missing Python hosts for the chemistry samples, so I'll go on and update the title/description accordingly. |
|
It was great to talk to you today, @sdf94! I've updated the checklist above, as it looks like only AnalyzeHamiltonian was incorrectly listed as not having a Python host. Thanks for volunteering to take a look at this enhancement, we really appreciate it! |


Currently, most samples only have a C# host program. It would be nice if more or even most samples demonstrated how to use Python to call into Q#.
Samples with Python Hosts
IntegralData(n/a: static sample data)LithiumHydrideGUI(n/a: demonstrates C#MolecularHydrogenGUI(n/a: demonstrates C#unit-testing(n/a: demonstrates xunit integration)intro-to-iqsharp(n/a: specific to IQ#)fsharp(n/a)oracle-emulation(n/a: specific to extending runtime with C#)state-visualizer(n/a: demonstrates using Q# with ASP.NET Core)gui(n/a: demonstrates C#