Slashdot Mirror


Microsoft Launches Open-Source Quantum Katas Project On GitHub To Teach Q# Programming (betanews.com)

BrianFagioli shares a report from BetaNews: Microsoft seems eager to get programmers on the quantum bandwagon, as today, it launched the open-source Quantum Katas on GitHub. What exactly is it? It is essentially a project deigned to teach Q# programming for free. "For those who want to explore quantum computing and learn the Q# programming language at their own pace, we have created the Quantum Katas -- an open-source project containing a series of programming exercises that provide immediate feedback as you progress," says The Microsoft Quantum Team. "Coding katas are great tools for learning a programming language. They rely on several simple learning principles: active learning, incremental complexity growth, and feedback."

The team further says, "The Microsoft Quantum Katas are a series of self-paced tutorials aimed at teaching elements of quantum computing and Q# programming at the same time. Each kata offers a sequence of tasks on a certain quantum computing topic, progressing from simple to challenging. Each task requires you to fill in some code; the first task might require just one line, and the last one might require a sizable fragment of code. A testing framework validates your solutions, providing real-time feedback."
You can view the project on GitHub here.

37 comments

  1. Okay let's issue Microsoft press releases on Slash by Anonymous Coward · · Score: 0

    And pretend they're changing and embracing open source.

  2. Microsoft is poorly managed, in some areas. by Futurepower(R) · · Score: 1

    There are many indications of lack of social ability at Microsoft, in my opinion. One example: Don't give a product a name that can't be spelled easily with letters from the alphabet.

    "Q#" is not a sensible name. "Q Sharp" is not a sensible name. When someone hears the name for the 1st time, will they think it is "Cue Sharp"?

    One product should not have 2 names.

    1. Re:Microsoft is poorly managed, in some areas. by 110010001000 · · Score: 2

      Exactly. That is why languages like C and C++ and C# never caught on and things like Rust did.

    2. Re:Microsoft is poorly managed, in some areas. by Anonymous Coward · · Score: 0

      Sometimes things do not catch on because of who is bringing it to the table.

      If Hitler came out and told me he had an awesome upgrade for my OS I would be way more than a little leery.

      When m$ says they have created a language like c# it has that same taint of association. Its like it smells like rotten fish, you just do not want to touch it or go near it regardless of what it can do.

    3. Re:Microsoft is poorly managed, in some areas. by PolygamousRanchKid+ · · Score: 1

      "Q#" is not a sensible name. "Q Sharp" is not a sensible name. When someone hears the name for the 1st time, will they think it is "Cue Sharp"?

      . . . and here I read it as "Q hash" . . . as in, "Don't Bogart the bong, Captain Picard!"

      Can you do Q# on Linux . . . ? Or do you need a Windows Phone for it . . . ?

      --
      Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
    4. Re:Microsoft is poorly managed, in some areas. by Anonymous Coward · · Score: 0

      I think you actually will be able to compile under Linux though I cannot confirm.

      With the way things have been going if they cannot perform under Linux there really isn't much point releasing it, most devs aren't using windows boxes unless forced to anymore.

    5. Re:Microsoft is poorly managed, in some areas. by Opyros · · Score: 0

      Queue the comments from people who don't know the difference. (And yes, I really do want the comments to line up in orderly fashion!)

    6. Re: Microsoft is poorly managed, in some areas. by Anonymous Coward · · Score: 0

      How hard is it to spin up a vm with a windows install?

      Devs are lazy pieces of shit.

    7. Re: Microsoft is poorly managed, in some areas. by Anonymous Coward · · Score: 0

      Or they think it's a bad idea to get locked into one platform for cross-platform development.

    8. Re: Microsoft is poorly managed, in some areas. by Anonymous Coward · · Score: 0

      How hard is it to spin up a vm with a windows install?

      Very easy. You just have to rinse and repeat every 30 days when the unvalidated installation locks itself out.

    9. Re: Microsoft is poorly managed, in some areas. by Anonymous Coward · · Score: 0

      Doesn't seem to stop the supposedly cross-platform game development system, MonoGame, having a dependency on Windows machines due to the shader compiler only being available on Windows.

    10. Re: Microsoft is poorly managed, in some areas. by Anonymous Coward · · Score: 0

      It is not very hard at all. However I do not want to do it, it is not about the work load or time involved, or the way the OS requires persistent care babysitting for the rest of its crippled life. I just do not want to because Linux does everything I need without asking almost anything at all of me.

    11. Re: Microsoft is poorly managed, in some areas. by Anonymous Coward · · Score: 0

      I usted and liked j++, but after a while I delta duped, since then I wait some time, un C# was 5 years.

    12. Re: Microsoft is poorly managed, in some areas. by Anonymous Coward · · Score: 0

      Monogame is still aroud? I thought ir was dead, like they xna

  3. Is this like a cart, or like a horse? by Aighearach · · Score: 1

    Don't they need a use case for the solution before they know what features they need?

    The reason that:

    Quantum computers will be able to do calculations that we can only dream about today, potentially...

    is that we don't know yet what they can do that is useful. Of course we can only dream about it when we don't know what we want it to do!

    Once somebody builds something powerful enough to do something, then it gets more interesting to ask what people can do with it. What exact features does the system have? Don't know, building them is still too hard to say! Presumably the feature-set that works at scale will be a different one than the one that isn't very useful yet.

  4. Blue Cat Of Death by Tablizer · · Score: 1

    or maybe not

  5. Re:Trump will die a traitor in Federal Prison by Tablizer · · Score: 1

    Well, if you perfect your Q# scripts, then maybe That Orange Guy will merely end up part of somebody else's universe.

  6. sharp objects ahead. by nimbius · · Score: 2, Insightful

    https://en.wikipedia.org/wiki/...

    That. That is the original Q. I, nor anyone else working in AI or machine learning, have the slightest fucking idea what Q# is other than yet another attempt by microsoft to embrace, extend, extinguish a language.

    you'd think after 30 years of this shit they'd learn to quit.

    --
    Good people go to bed earlier.
    1. Re:sharp objects ahead. by Anonymous Coward · · Score: 0

      They cannot even learn how to use a toilet, what makes you think they will learn anything that requires a higher order function of mental gymnastics?

      M$ cannot program anything lately, I wouldn't trust this 'language' to do much more than BSOD my desktop and report my bank number back to Microsoft India.

      M$ has no place programming anything anymore, they have proven time and time again that they have lost this ability decades ago. They sort of just make these piles of mush code that trip and stumble along before falling flat on their faces like a drunkard. They do not even utilize their own web server technology to host their sites.

      Honestly they went from being the cyber nightmare that was going to eat our future to an angry little muppet screaming at us to give them attention. With Linux in the mix and mature m$ has become more of a footnote in history that forgot to die.

    2. Re:sharp objects ahead. by Anonymous Coward · · Score: 1

      https://en.wikipedia.org/wiki/...

      That. That is the original Q. I, nor anyone else working in AI or machine learning, have the slightest fucking idea what Q# is other than yet another attempt by microsoft to embrace, extend, extinguish a language.

      you'd think after 30 years of this shit they'd learn to quit.

      The Q language has nothing to do with quantum computing (other than both their names start with a Q).

    3. Re:sharp objects ahead. by BitterOak · · Score: 1

      The Q language has nothing to do with quantum computing (other than both their names start with a Q).

      And more to the point, Q and Q# have absolutely nothing to do with each other. The similarity in names is purely coincidence: they are unrelated.

      --
      If I can be modded down for being a troll, can I be modded up for being an orc, or a balrog?
    4. Re:sharp objects ahead. by spongman · · Score: 1

      > I, nor anyone else working in AI or machine learning, have the slightest fucking idea what Q# is

      yeah, if only someone would post a helpful article with links to introductory material, maybe the source code. _something_ at least, jeez!

    5. Re:sharp objects ahead. by Anonymous Coward · · Score: 0

      If only you, or anyone else in the AI or machine learning community would have heard of quantum computing and figured out it is something other than AI...

      I mean, I understand you're narrow focused, but there are other disciplines than AI/ML. For example quantum computing. Look it up

    6. Re:sharp objects ahead. by rtb61 · · Score: 1

      I got caught up in the idea of "learning a language for free", think about that for a moment. Learning for free, so basically as far as M$ is concerned my time is free, my effort is free, my worth is zero. This stuff is getting annoying, corporations thinking your time, your work, your efforts are worth nothing and to be exploited for free.

      I don't learn for free, it takes real time and real effort. A really funny thing when you think about it, "we ran the first Q# coding contest and the response was tremendous. More than 650 participants from all over the world joined the contest", so with 131,000 employees https://news.microsoft.com/fac... only 650 could be fucked entering the competition, fuck M$'s own staff hate it.

      --
      Chaos - everything, everywhere, everywhen
  7. Re:Okay let's issue Microsoft press releases on Sl by Riceballsan · · Score: 1, Troll

    Oh they absolutely are embracing open source. It's just something that should make us more worried. https://en.wikipedia.org/wiki/...

  8. There is no Q# by Prien715 · · Score: 0

    The musical alphabet goes from A-G, each of which has a corresponding sharp (#) or flat (b). There simply isn't any Q#. And if there was, would it be the same as R?

    As everyone knows, Unix was originally written in B#.

    --
    -- Political fascism requires a Fuhrer.
    1. Re: There is no Q# by Anonymous Coward · · Score: 0

      And you get a C-

    2. Re:There is no Q# by Anonymous Coward · · Score: 0

      Q# would equate to R only on instruments with keyboards and frets. On fretless instruments like violas and cellos they are different notes and Rr would even be considered to be different than Q#.

  9. An interesting opportunity by Camembert · · Score: 4, Insightful

    I had a very quick look at the tutorials overview and contents. Despite the cynism here on the forum, I find this initiative an interesting and laudable way to learn about a fascinating topic. It sure is very different and difficult to grasp, but probably worth spending effort on, even if only for personal enrichment.

    1. Re:An interesting opportunity by spongman · · Score: 1

      wow. someone actually rtfa'd.

  10. Re:Okay let's issue Microsoft press releases on Sl by UnknownSoldier · · Score: 1

    You, DO you realize that 33% of Azure is running Linux, right?
    * http://www.zdnet.com/article/l...

    And they even support Linux hosting!
    * https://azure.microsoft.com/en...

  11. Re:Okay let's issue Microsoft press releases on Sl by Anonymous Coward · · Score: 0, Flamebait

    Dude, the 90's want their memes back

  12. Whaaat? From EULA... to CLA by Anonymous Coward · · Score: 0

    "This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com."

    Nice license...

    1. Re:Whaaat? From EULA... to CLA by barryvoeten · · Score: 1

      This is why I abandoned the Microbit. An IoT device connected to the MS Cloud. They have : you gave granted us the perpetual worldwide license to everything.

      http://microbit.org/terms-of-u...
      >> In addition, in using the micro:bit services to create contributions, you grant the Foundation a worldwide, royalty-free, non-exclusive, perpetual licence for the Foundation to use, reproduce, modify, communicate to the public, create derivative works, display, perform, sub-license and distribute the contributions in any way that the Foundation requires.

      Note: mis spelled word License in the quote above says it all.

  13. Please move along by Anonymous Coward · · Score: 0

    YAGNI - yet another niche language which will find below single digit percent use in the next few years.

    Try getting a F# only programming job, not a freebie or unpaid intern on a GitHub project.

    Shouldn't there be a language to number of paid jobs matrix somewhere showing the many academic, pet or toy languages with much hype and no jobs?

    Website using language X counts don't apply since they're skewed for the many many implementations of the same off the shelf CRM/Brochureware/Shopping cart open source package.