Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Harshit Garg
    @githg22_gitlab
    Please use slack. It makes everything simpler.
    :-)
    Sarah Kasier
    @crazy4pi314
    @achieveordie The example of what I have seen for making discord really work for tech communities is the Python one: https://pythondiscord.com/
    @githg22_gitlab I regularly use both slack and discord but it seems to me that discord is really keeping up with demand and adding features that basically make it a strictly nicer slack. Slack is also not bad though, I initially set this up because I didn't want people to have to create a new account to chat (assuming they had a GitHub account). I know this single thread is kinda limiting, so I am open to what would work best for the folks here
    Harshit Garg
    @githg22_gitlab
    The best thing about slack is you can create a thread for any message.
    It really comes useful in this kind of huge projects
    Just my 2 cents
    I'll check out the python discord channel though
    Mridul Sarkar
    @mridulsar
    is there a way to 'transpose' a gate in q#? i noticed there was a discussion above as to how gates in Q# are not recognized as a matrix bur rather an operation. Would love some insight as to what sort of approach is taken when observing a circuit
    specifically in Q# because in the posts above mentioned how the approach taken in Q# is different from qiskit
    2 replies
    Sarah Kasier
    @crazy4pi314
    Apparently you can do threading here too, but its not super obvious
    Sarah Kasier
    @crazy4pi314
    How was everyone's weekend? I can't believe it's already Tuesday 😭
    the Roman Mercury
    @theRomanMercury
    I am reading Microsoft Quantum Documentation again
    I think I missed the broadcast today
    Amir Ebrahimi
    @amirebrahimi

    Other general question for folks here, do you use discord? Would a Q# community discord make it easier to interact/chat than this single thread?

    Coming to this late, but I would prefer Slack or Discord (in that order) if you are considering alternatives.

    ShaunJW360
    @ShaunJW360
    Slack or Discord good either way 🙏
    Sarah Kasier
    @crazy4pi314

    Sweet, I'll get something moving soon for the chat platform stuff!

    In the meantime verson 0.12 is out of the QDK, I wrote up some thought/context on the release notes here: https://twitter.com/crazy4pi314/status/1280174137973981201?s=20

    Amir Ebrahimi
    @amirebrahimi
    Congrats on the release!
    Sarah Kasier
    @crazy4pi314
    @/all Q# Community update!
    We now have a slack setup, check out the badge on the homepage to join! https://qsharp.community/
    We will continue to make use of the gitter for more transient questions/ convos but after polling at least the active folks here, there was interest in a Slack so I got that up and going!
    Sarah Kasier
    @crazy4pi314
    the Roman Mercury
    @theRomanMercury
    Hello, what do you think about Randonautica ( ıt is an app, uses QNRG )
    1 reply
    ?
    Sarah Kasier
    @crazy4pi314
    If there are any folks dropping by from the Azure Quantum Developer Workshop, we tend to answer quick questions here on the gitter, and if you want to work on some of our projects/learn/collaborate hop on over to our slack here: bit.ly/qsharp-slack !
    the Roman Mercury
    @theRomanMercury
    using (register = Qubit[8])
    does it give 8 qubits in 0 state or 8 qubits 0 and 1 randomly ?
    Jesus Gutiérrez
    @jesusdeepkai
    Hello. I think you must to initialize the Qbits with Hadamard function H(register[idxQubit]);
    to stablish the superposition 50/50
    Rolf Huisman
    @RolfHuisman

    using (register = Qubit[8])

    You get 8 qubits in |0> state. So its the |00000000> state.

    the Roman Mercury
    @theRomanMercury
    I see, now I understand the it, thnx
    [true, true, false, false, true, false, false, true]
    this is the bitstring which we wanted right ?
    Rolf Huisman
    @RolfHuisman
    In the example that is used indeed to only X gate the specific qubits for which the bool was true. Afterward the register has the |11001001〉 state.
    the Roman Mercury
    @theRomanMercury
    I had not been able to look into quantum programming for a long time because of professional exams. Now I have time for https://github.com/microsoft/MLADS2018-QuantumML and QuantumComputingas a High School Module
    Mariia Mykhailova
    @tcNickolas_twitter
    @theRomanMercury That QML tutorial is pretty old, https://github.com/microsoft/QuantumKatas/tree/master/tutorials/QuantumClassification is an improved version
    1 reply
    the Roman Mercury
    @theRomanMercury
    thank you
    the Roman Mercury
    @theRomanMercury
    What role does entanglement play in QML? Can it be used to transfer outputs from an artificial neuron in the Soma step to other artificial neurons that are entangled?
    the Roman Mercury
    @theRomanMercury
    Untitled.png
    the Roman Mercury
    @theRomanMercury
    I found this video - https://www.youtube.com/watch?v=7ALa_JZvV3o . One of the writers of "Circuit-centric quantum classifiers" paper explaining Using Quantum Circuits as Machine Learning Models
    Jamie Dixon
    @jamessdixon
    (I posted this in the slack channel also)I am trying to build a rudimentary bioinformatics algorithm using Q#. The F# implementation looks like this:
    let patternCount (text:string) (pattern:string) =
    text
    |> Seq.windowed pattern.Length
    |> Seq.map(fun c -> new string(c))
    |> Seq.filter(fun s -> s = pattern)
    |> Seq.length
    it is used like this:
    let text = "ACAACTCTGCATACTATCGGGAACTATCCT"
    let pattern = "ACTAT"
    patternCount text pattern
    How would I write in the same functional pipeline style in Q#. Is there any particular piece of the quantium library that would optimize the algorithm? (edited)