Comments (48)
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.
Hey @tcNickolas I'd be happy to work on the single qubit gate workbook
from quantumkatas.
@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.
Hi @tcNickolas, I can have a look at the multi-qubit gates.
from quantumkatas.
Hi,
I can pickup the Multi-quibt systems workbook.
from quantumkatas.
@tcNickolas I would like to take up Joint Measurements if no one has started already.
Update: Submitted pull request #380 for review.
from quantumkatas.
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.
@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.
If there are no applicants for GraphColoring yet, I'd like to work on it. Would that be okay?
from quantumkatas.
@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.
@jainvasu631 Sounds good!
from quantumkatas.
@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.
@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.
If there is still help needed I could start working on the first two.
from quantumkatas.
Nobody is working on those yet, help will be most definitely appreciated!
from quantumkatas.
I would love to help too, I'll start working on Measurements!
from quantumkatas.
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.
@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.
@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.
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.
@vivanwin Sounds great, thank you!
from quantumkatas.
@desireevl Are you still working on the single qubit gate workbook? Please let us know if you ran into any issues.
from quantumkatas.
@tcNickolas Hi yes, sorry for the delay, been a bit hectic with the situation at the moment. Will be finished shortly!
from quantumkatas.
@desireevl I understand, no rush - just wanted to make sure you're not blocked on something I can help you with.
from quantumkatas.
@tcNickolas I would like to pick up the Measurements (tutorials) if that is available.
from quantumkatas.
@manav28 Sounds great, thank you!
from quantumkatas.
@jainvasu631 Sounds great, thank you!
from quantumkatas.
@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.
@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.
@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.
@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.
@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.
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.
@desireevl No worries at all, I know how it can be. Thank you for letting me know!
from quantumkatas.
@Lukious Absolutely, thank you!
from quantumkatas.
@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.
@Lukious How far are you with the graph coloring workbook ? I can help if you want !
from quantumkatas.
@tcNickolas Can I work on the graph coloring workbook then ?
from quantumkatas.
@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.
@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:
- After New Tasks are added to RNG Tutorial, it may start becoming a candidate for a Workbook
- RippleCarryAdder is already fairly complex and perhaps also a candidate for a Workbook
from quantumkatas.
@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.
@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.
@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.
@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.
@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.
@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.
@tcNickolas I finished the graph coloring workbook, I sent a push request.
from quantumkatas.
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)
- Sample solutions for task 1.14 of the Superposition katas. HOT 2
- Mistake in multi-qubit measurement tutorial exercise 2 calculations. HOT 1
- Enable tests that are currently excluded with multicell solution tag HOT 2
- [MultiQubitSystemMeasurements] Add code to Exercise 2 solution to show state in Pauli X basis HOT 2
- Fix math mode rendering in browser HOT 5
- Task 1.15 in Measurements Kata says two states are orthogonal. HOT 2
- Exercise 5 for RandomNumberGenerationTutorial - slightly cleaner solution HOT 4
- QFT Question HOT 9
- Late introduction of `ControlledOnInt` operation HOT 4
- Disable cell id generation while working on jupyter notebooks locally HOT 2
- Validate only changed katas…
- %kata magic doesn't work with lambda expressions HOT 1
- O(1) time complexity solution to Oracles tutorial, task 4.2 HOT 9
- Add error-free arbitrary state transmission demo to QEC_BitFlipCode kata HOT 7
- docker image creation is stuck HOT 1
- Add Memory Management Tutorials and Concepts HOT 1
- Systems of Equations not properly explained HOT 1
- BasicGates kata task 1.6 PhaseChange fails
- Docker Build Failing HOT 1
- getting issue in exit command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quantumkatas.