Giter VIP home page Giter VIP logo

Comments (48)

vivanwin avatar vivanwin commented on May 19, 2024 2

Hi @desireevl,

I just tried to reproduce your error, for me this only happens when I have not run the first cell %package Microsoft.Quantum.Katas::0.10.1911.1607.
The issue is fixed when you run that cell and try to run your code again. Note that if you use the Binder Notebook the kernel shuts down every ~10 minutes so you have to rerun that first cell again after the kernel is up again.

Hopefully this helps.

from quantumkatas.

desireevl avatar desireevl commented on May 19, 2024 1

Hey @tcNickolas I'd be happy to work on the single qubit gate workbook

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024 1

@desireevl Sounds great! You can see Superposition workbook as a great example of the kind of explanations we're looking for (although single-qubit gates ones will be much simpler!) and formatting.

from quantumkatas.

vivanwin avatar vivanwin commented on May 19, 2024 1

Hi @tcNickolas, I can have a look at the multi-qubit gates.

from quantumkatas.

vivanwin avatar vivanwin commented on May 19, 2024 1

Hi,
I can pickup the Multi-quibt systems workbook.

from quantumkatas.

manav28 avatar manav28 commented on May 19, 2024 1

@tcNickolas I would like to take up Joint Measurements if no one has started already.

Update: Submitted pull request #380 for review.

from quantumkatas.

jainvasu631 avatar jainvasu631 commented on May 19, 2024 1

If no one has started working on it, I would like to call dibs on Unitary Patterns.

Update: I have added a pull request with the Workbook for Unitary Patterns #377

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024 1

@jainvasu631 The problems in UnitaryPatterns kata were explained in the editorials for the past contest, for the warmup round and for the main contest - here are the LaTeX sources I have for them, in case you want to have a nice starting point for all the formulas and matrices. (They are saved as txt so as to allow uploading them to GitHub)

contest-editorial.txt
warmup-editorial.txt

Hope that helps!

from quantumkatas.

Lukious avatar Lukious commented on May 19, 2024 1

If there are no applicants for GraphColoring yet, I'd like to work on it. Would that be okay?

from quantumkatas.

jainvasu631 avatar jainvasu631 commented on May 19, 2024 1

@tcNickolas I wouldn't mind taking over Single Qubit Workbook from @desireevl . Its relatively simpler and I agree the Grover's algorithm Kata would be too directly related to the algorithm so maybe its not a priority right now.

Update: I have added a pull request with the SingleQubit Workbook #389

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024 1

@jainvasu631 Sounds good!

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024 1

@jainvasu631
Agreed on both counts - I was hesitant to add new workbooks here, since this would delay the joy of completing the issue for everyone who worked so hard on the first batch of the workbooks :-)
I'm thinking we can file a new issue, "Create workbooks, batch 2", so that we can both complete this one and have more workbooks to work on.

Which reminds me... @BrokenDuck, how are you doing with the workbook for the graph coloring kata? Let us know if you need any help!

from quantumkatas.

BrokenDuck avatar BrokenDuck commented on May 19, 2024 1

@jainvasu631
I didn't really start part 1, so you could do that part and I can continue on part 2 with the oracle

from quantumkatas.

vivanwin avatar vivanwin commented on May 19, 2024

If there is still help needed I could start working on the first two.

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

Nobody is working on those yet, help will be most definitely appreciated!

from quantumkatas.

eloiseespel avatar eloiseespel commented on May 19, 2024

I would love to help too, I'll start working on Measurements!

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

Sounds great!

@vivanwin and @eloiseespel Please don't feel obliged to do the whole workbook at once (it's a lot of work!) - you can do the first couple of tasks and send them for review to get early feedback. Thank you again for volunteering!

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@eloiseespel How are you doing with the Measurements workbook? Do you need any help? Please don't hesitate to reach out with questions! And if you ran out of time after doing just a few tasks, feel free to send them in - Measurements is a massive batch of problems, and doing it in one go is an ambitious endeavor!

from quantumkatas.

eloiseespel avatar eloiseespel commented on May 19, 2024

@tcNickolas I completed the first 5 tasks early January I thought my commits got tp you but since you have not received them I assume it didn't. I will merge again later today. Since then I have finished the first 10 tasks so I will send that, I would love feedback on those once I figure out how to get my file to you!

from quantumkatas.

desireevl avatar desireevl commented on May 19, 2024

I am having issues with getting the exercises in SingleQubitGates.ipynb to run. I am using version:
Microsoft.Quantum.Standard::0.10.1911.1607
Microsoft.Quantum.Katas::0.10.1911.1607

I am able to run the demo however get the following error for Exercise 1:

%kata T1_ApplyY_Test

operation ApplyY (q : Qubit) : Unit is Adj+Ctl {
    Y(q);
}

/snippet_.qs(1,85): error QS3001: Syntax does not match any known patterns.

@tcNickolas would you have any insight as to what might be the issue?

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@vivanwin Sounds great, thank you!

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@desireevl Are you still working on the single qubit gate workbook? Please let us know if you ran into any issues.

from quantumkatas.

desireevl avatar desireevl commented on May 19, 2024

@tcNickolas Hi yes, sorry for the delay, been a bit hectic with the situation at the moment. Will be finished shortly!

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@desireevl I understand, no rush - just wanted to make sure you're not blocked on something I can help you with.

from quantumkatas.

RankJay avatar RankJay commented on May 19, 2024

@tcNickolas I would like to pick up the Measurements (tutorials) if that is available.

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@manav28 Sounds great, thank you!

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@jainvasu631 Sounds great, thank you!

from quantumkatas.

ArthurConmy avatar ArthurConmy commented on May 19, 2024

@manav28 are you still interested in writing the workbook for joint measurements? If not, I am willing to work on it. Regardless, I have a short solution for task 5:

operation DifferentBasis (qs : Qubit[]) : Int {
    CNOT(qs[1],qs[0]);
    H(qs[1]);
    
    mutable ans=0;
    
    if(M(qs[1]) == One)
    {
        set ans=1;
    }
    
    H(qs[1]);
    CNOT(qs[1],qs[0]); // reset to original state
    
    return ans;
}

from quantumkatas.

manav28 avatar manav28 commented on May 19, 2024

@ArthurConmy I am almost done with it. I just have task 7 pending. I believe task 5 has a clean one liner and I've written some of the math that goes into it. It is also there in ReferenceImplementation.qs

open Microsoft.Quantum.Measurement;

operation DifferentBasis (qs : Qubit[]) : Int {
    // ...
    return Measure([PauliX, PauliX], qs) == Zero ? 0 | 1;
}

But I appreciate it. @tcNickolas I guess @ArthurConmy could add a second soln to the workbook once I am done?

from quantumkatas.

jainvasu631 avatar jainvasu631 commented on May 19, 2024

@tcNickolas I noticed that Grover's Algorithm though not on this list also doesn't have a Workbook.
Although the problems in it are quite simple. So do you think it needs a Workbook. If yes then I wouldn't mind working on it.

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@jainvasu631 I'm a bit on the fence about Grover's algorithm kata - on one hand, if there are tasks, it's good to have a workbook for them; but on the other hand, the tasks follow the algorithm exactly, there's less space for inventing the solution than in some of the other katas (that's why I didn't include this kata in the first wave of workbooks to be developed). I would say it's worth having if you're willing to create it. Thank you!

(Sorry for the delay replying on this and on the PRs, but I'm returning to the open source work now so should be a bit more responsive :-))

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@desireevl Hi. Are you still working on the single qubit gate workbook? Please let me know - if you have it in some partial state but don't have time to finish it, you're welcome to send PR with this partial, and somebody else will pick it up to finish. (We have an internal Hackathon approaching so we'll have extra volunteers looking for something to do, and this workbook is a good candidate :-))

from quantumkatas.

desireevl avatar desireevl commented on May 19, 2024

Hi @tcNickolas, I am so sorry about this. I won't be able to work on this and have unfortunately lost my progress for what I have done

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@desireevl No worries at all, I know how it can be. Thank you for letting me know!

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@Lukious Absolutely, thank you!

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@ArthurConmy I finally finished review of JointMeasurements workbook and merged it to master. Looking at your proposed solution to task 5, it seems to follow quite a different approach, so I think there is value in adding it (together with the math behind it) after the existing solution, as an alternate solution (the way we've done in some Superposition tasks). Let me know if you'd like to do that!

from quantumkatas.

BrokenDuck avatar BrokenDuck commented on May 19, 2024

@Lukious How far are you with the graph coloring workbook ? I can help if you want !

from quantumkatas.

BrokenDuck avatar BrokenDuck commented on May 19, 2024

@tcNickolas Can I work on the graph coloring workbook then ?

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@BrokenDuck Sure, sounds good :-)

(Apologies for the delay replying - I was trying to reach somebody who has expressed interest in the same some time ago, but with no success, so I'm assuming they're not interested any longer.)

from quantumkatas.

jainvasu631 avatar jainvasu631 commented on May 19, 2024

@tcNickolas
I was recently going through the QFT Kata Notebook after Section III was added. I felt that while Section I is maybe tutorial-ish,
Section II and especially Section III need a Workbook. None currently exists. The list should be updated with the QFT as well.

PS: I notice that its almost been a year since this Issue was opened (in the last Hacktoberfest). We have almost completed it and it would be extremely cathartic if we could/would be to close it on October 28 (exactly one year after it was created). However, maybe we should expand the list to include new candidate Katas/Tutorial which are ripe and in need of a Workbook.

Example:

  1. After New Tasks are added to RNG Tutorial, it may start becoming a candidate for a Workbook
  2. RippleCarryAdder is already fairly complex and perhaps also a candidate for a Workbook

from quantumkatas.

BrokenDuck avatar BrokenDuck commented on May 19, 2024

@tcNickolas I am working on it, but school has been quite ruthless (4h of French, Maths and Physics exam), so I am a bit late. I would greatly appreciate some help on part 1, I am more interested in part 2. Do I just commit the partially finished workbook, or are there extra steps ?

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@BrokenDuck I think it's fine to send a pull request for a partially finished workbook - we've done that with Superposition, which took a join effort of 4 or 5 people and probably around 10 PRs.

from quantumkatas.

jainvasu631 avatar jainvasu631 commented on May 19, 2024

@BrokenDuck I would love to help out on GraphColoring's Workbook. If you can maybe send a draft PR or share whatever you have worked on, I would be glad to help out. We can divy the remaining work. I could try to finish Part 1 of the Workbook.

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

@BrokenDuck @jainvasu631 Here's the history of commits on Superposition workbook, as an example of what we did when different people work on different sections.

from quantumkatas.

jainvasu631 avatar jainvasu631 commented on May 19, 2024

@tcNickolas @BrokenDuck
Perhaps we could commit Part 1 and Part 2 independently. I am not sure how much progress @BrokenDuck has made on Part 1 but I could build on that and finish it before end of October.

@BrokenDuck How does that sound?

from quantumkatas.

jainvasu631 avatar jainvasu631 commented on May 19, 2024

@tcNickolas @BrokenDuck
I have written the first draft of the Workbook Part 1. The Part of the Workbook can then be merged into this. I have right now created an empty coming soon Solution cells for the tasks in Part 2. Later on these can be filled in.

from quantumkatas.

BrokenDuck avatar BrokenDuck commented on May 19, 2024

@tcNickolas I finished the graph coloring workbook, I sent a push request.

from quantumkatas.

tcNickolas avatar tcNickolas commented on May 19, 2024

With the GraphColoring workbook finished, I officially declare this issue complete! Thank you everybody who contributed to it!

I'll go through the remaining katas and put together a plan for the second batch of the workbooks soon.

from quantumkatas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.