Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    cgranade @cgranade waves!
    Rolf Huisman
    @RolfHuisman
    Taps microphone; is this thing on ?
    :)
    Sarah Kasier
    @crazy4pi314
    Hi everyone!!
    :wave:
    Mariia Mykhailova
    @tcNickolas_twitter
    :wave:
    Rolf Huisman
    @RolfHuisman
    This seems to work
    Sarah Kasier
    @crazy4pi314
    How did you wave @cgranade?
    cgranade @cgranade typed /me at the start of his message.
    crazy4pi314 @crazy4pi314 facepalmed
    Jesse Cooke
    @jc00ke
    :wave: hi!
    Rolf Huisman
    @RolfHuisman
    So let's start with a question; what life defining conversations should be here in gitter ?
    Questions about Q# might be a good idea :)
    Sarah Kasier
    @crazy4pi314
    Also what type of projects to people want to see here? More libraries? Tutorials/demos?
    Ebrahim Byagowi
    @ebraminio
    Hey there!
    Sarah Kasier
    @crazy4pi314
    :wave:
    Sarah Kasier
    @crazy4pi314
    How would ppl feel if we added a blog to the main community site? We could use it to feature contributions as well as solicit community members to write up their projects?
    Sarah Kasier
    @crazy4pi314
    Also I realize a contribution guide is sorely in order...
    Sarah Kasier
    @crazy4pi314
    Checkout the new contribution guide now live here! https://qsharp.community/contributing/
    Esteban Ginez
    @eginez
    hello all and thanks Sarah for the invite
    super trivial PR: qsharp-community/qsharp-integrations#4, for when you guys get some time :D
    Sarah Kasier
    @crazy4pi314
    @eginez Welcome! and thanks for the contribution! I would love to discuss with you a blog post on getting started in Q# in spanish 💖
    Esteban Ginez
    @eginez
    for sure happy to help
    Robert Rand
    @rnrand
    Hi everyone! What's the go-to place for Q# related programming questions?
    Sarah Kasier
    @crazy4pi314
    @rnrand Here is a pretty good option, else https://quantumcomputing.stackexchange.com/ is pretty active with Q# folks!
    Joe Clapis
    @jclapis
    Hi all, I just published a VS extension that brings automatic doc comment generation to Q# (like how it works for C#'s XML comments): https://marketplace.visualstudio.com/items?itemName=JoeClapis.QSharpTripleSlash
    Sarah Kasier
    @crazy4pi314
    Oh awesome!! Would you be interested in writing a short something about that we can post on the blog? I have been wanting something like this for a while instead of copy pasta 😆
    Joe Clapis
    @jclapis
    Sure, what do you have in mind? Like, what it does and why I made it or something?
    Sarah Kasier
    @crazy4pi314
    Yeah, I think that makes sense! I went looking for a similar style post, and I think something like this is what I was thinking: https://dev.to/mgranados/built-my-first-chat-app-with-react-hooks-exclusively-it-was-great-14dj
    Something short that has some examples of how you use the extension and what motivated you :)
    You can just make a PR with the markdown file for the post here: https://github.com/qsharp-community/qsharp-community.github.io/tree/master/_post and if you have any questions let me know!
    Rolf Huisman
    @RolfHuisman
    Agree, thats indeed a cool extension.
    Joe Clapis
    @jclapis
    @crazy4pi314 okay, I wrote up a thing for you: qsharp-community/qsharp-community.github.io#7
    Sarah Kasier
    @crazy4pi314
    @/all :tada: New blog post up thanks to @jclapis :tada:
    They made a Visual Studio extension that helps make writing Q# docs easier! :sparkling_heart:
    https://qsharp.community/blog/qsharp-triple-slash/
    also @jclapis do you have a twitter/insta you want me to tag when I post about this on the community social media accounts?
    Joe Clapis
    @jclapis
    Thanks Sarah! I don't have a Twitter or IG account. I guess if someone wants to poke me, they can just do it on here?
    Sarah Kasier
    @crazy4pi314
    Anyone have any cool projects they are working on?
    Aaron Hadley
    @aahadley

    Not sure if this is still active, but I'll try.

    In the C# driver, we use .wait() because the Q# code is run asynchronously. Is this not needed in Python or is there an equivalent operation that I need to use?

    Also, (in response to your question from August) I'm working on mapping qubit states to RGB color space so we can build a quantum circuit visualizer with Arduino+Pi.
    Sarah Kasier
    @crazy4pi314
    @aahadley Oh dang this is awesome!!
    Sarah Kasier
    @crazy4pi314
    wrt your question, though likely you have figured it out by now, but the .simulate() method should return the results of the Q# function or operation: https://github.com/microsoft/Quantum/blob/67f75e857c26c68168c0d404dc879abeee1682dd/samples/getting-started/intro-to-iqsharp/Notebook.ipynb#L346
    No additional operations needed I think
    cgranade @cgranade waves hi from the Q# development team. @crazy4pi314 has it exactly right, the .simulate() method in Python returns a value, while the .Run() method in C# host programs returns a task that needs to be awaited on. We're in the process of clarifying this in documentation, so we really appreciate the feedback! 💕
    Aaron Hadley
    @aahadley
    beautiful. Thank you both!
    Chris Granade
    @cgranade
    Happy to help!
    If you're interested, by the way, I put together a very quick sample of calling .simulate() from Python: https://mybinder.org/v2/gh/cgranade/6e1d177dc33f0bb34132319672c149bf/master