Slashdot Mirror


Microsoft Develops New Programming Language For Quantum Computers (cio-today.com)

Microsoft's newest programming language will run on yet-to-be developed quantum computers. An anonymous reader quotes CIO Today: Microsoft said its new quantum computing language, which has yet to be named, is "deeply integrated" into its Visual Basic development environment and does many of the things other standard programming languages do. However, it is specifically designed to allow programmers to create apps that will eventually run on true quantum computers... Like other companies, such as Google and IBM, Microsoft has been working for years to advance quantum computing research to the point where the technology becomes feasible rather than theoretical... Joining Satya Nadella on stage, Fields Medal-winning mathematician Michael Freedman added, "Microsoft's qubit will be based on a new form of matter called topological matter that also has this property that as the information stored in the matter is stored globally, you can't find the information in any particular place..." The programming language is expected to be available as a free preview by the end of the year and "also includes libraries and tutorials so developers can familiarize themselves with quantum computing," Microsoft said.

71 of 120 comments (clear)

  1. The fate of successful mathematicians by Anonymous Coward · · Score: 1

    So successful mathematicians' fate is to get to gobble corporate cock by shilling for the next release of New Big Thing (TM) (R)?

    Today is a day for mathematicians to hang their heads in shame.

  2. neat by Anonymous Coward · · Score: 5, Funny

    So does this mean Microsoft quantum software can be in a superposition state of both running and crashed?

    1. Re:neat by michelcolman · · Score: 5, Funny

      Hasn't that always been the case with any Microsoft software? Their users are constantly struggling with the uncertainty principle and can often make a system collapse merely by observing it.

    2. Re:neat by fahrbot-bot · · Score: 2

      Hasn't that always been the case with any Microsoft software? Their users are constantly struggling with the uncertainty principle and can often make a system collapse merely by observing it.

      Hence all the telemetry in their products.

      (And, not sure if I mean to be funny, informative, insightful, etc...)

      --
      It must have been something you assimilated. . . .
    3. Re:neat by Anonymous Coward · · Score: 1

      When Windows switched to the NT kernel for XP, I basically stopped having crash issues from Windows. In Vista the new security model further improved stability by dragging program devs kickng and screaming away from their kludge-ridden coding practices, so we saw overall stability improve further. Windows 7 fixed the serious performance and UI problems of Vista and largely ended the era of "Windows is an unstable piece of shit." I routinely leave Windows 7 and 10 machines powered on without reboots for many months at a time. (I have the Windows Update service disabled on Windows 10 until I decide when updates should happen; fuck Microsoft's mandatory updates.)

      Windows and Linux are effectively equally reliable today. Neither is crash-proof but both are damned fine at staying up and running without incident. I still have a lot of shit I really hate about Windows 10 as well as modern UIs in general. Fuck flat UIs and fuck touch paradigms on computers with mice and keyboards.

      Ironically, I'm finding a new appreciation for my 2011 MacBook with Mavericks. There are some nice things about Macs. Me not paying for the MacBook is probably the nicest thing about it...but I digress. Windows is stable. End of rant.

    4. Re:neat by FatdogHaiku · · Score: 1

      So does this mean Microsoft quantum software can be in a superposition state of both running and crashed?

      The Blue Screen of
      LIFE!

      That just sounds wronERROR:IRQL_NOT_LESS_OR_heck_I'm_not_really_sure_anymore

      --
      You have the right to remain sentient. If you give up the right to remain sentient, you will be elected to public office
    5. Re:neat by TeknoHog · · Score: 1
      --
      Escher was the first MC and Giger invented the HR department.
    6. Re:neat by Darinbob · · Score: 1

      No, the two states are crashing and rebooting.

    7. Re:neat by istartedi · · Score: 1

      A beige screen of uncertainty appears. Press any key to find out.

      --
      For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    8. Re: neat by dougdonovan · · Score: 1

      a company worth what msft is can do what they want. they will find and pay the right people to do the job.

    9. Re:neat by hackwrench · · Score: 1

      That's the case with any software and the universe itself. We are all Schrodinger's cat.

    10. Re:neat by hackwrench · · Score: 1

      In Vista, for me. File Manager became completely unreliable. I must have gotten your bugs. Couldn't upgrade to 7 fast enough.

    11. Re:neat by catsRus · · Score: 1

      Flip a coin with Clippy to find out.

    12. Re:neat by Anonymous Coward · · Score: 2, Insightful

      Windows and Linux are effectively equally reliable today. Neither is crash-proof but both are damned fine at staying up and running without incident.

      This is true only if you ignore the rampant malware that continues to infect Windows machines. Before you say "but popularity!", remember, to the user it really doesn't matter why these things happen. What matters is that using Linux effectively means you can ignore malware infections.

      I don't think you're being intellectually honest when you conveniently omit this fact.

    13. Re:neat by 140Mandak262Jamuna · · Score: 2, Informative
      I agree with you Windows is stable.

      But still I am angry at all the other indignities heaped on me all these years. So I will perpetuate the meme that Windows is an unstable piece of crap as long as possible.

      That jerks who decided to violate the then accepted norms of not using white spaces in path names just so that he can laugh and giggle at the unix descendants who have to fix all the scripts, this is for them.

      The jerks who decided to withdraw support for command line builds in visual studio and broke all our Imakefile\s and Makefile\s in windows, it is for them. It happened in visual studio 2 I think. They restored it in version 4. I have a long memory. And I will not forgive. Our entire company had to reorganize the entire build process due that dick move. We could not get a clean simple build working in MS and linux for ages.

      No, they deserve no sympathy. They deserve no fair treatment.

      We had a clean abstract layer that ran above X windows and MFC. Link with motiflib.a in hp-ux, iris, dec-alpha, and solaris. Link with mfclib.lib in windows. They broke it up, made us use that infernal thing called Mainwin, and they ditched Mainwin.

      Microsoft does not deserve any sympathy, any fair treatment. They deserve to be pilloried at every available opportunity.

      --
      sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    14. Re:neat by slickwillie · · Score: 2

      The Blue Screen Of You-Have-To-Click-To-See-If-It-Is-Dead.

    15. Re:neat by Ukab+the+Great · · Score: 1

      No. It just means that the Clippy feature is both shipped and killed simultaneously.

    16. Re: neat by rtb61 · · Score: 1

      M$ is always chasing other people's work. The two big software languages will be, the programming learning language and the second with be the software engineering language, where you no longer write code but you write fully detailed software engineering coding specifications and the code compiler does a coding pass and test prior to compilation. Failures in code a tied back to insufficiently detailed or contradictory specification. Brag about that coding software not just variations in the current theme and the minds of the mathematically biased, those who can not see beyond their thought styles.

      --
      Chaos - everything, everywhere, everywhen
    17. Re: neat by liefer · · Score: 1

      So you're willing to lie and deceive because you see yourself as some sort of vigilante who's out for vengeance. Yet you still believe you hold the moral high ground. +5 interesting indeed.

    18. Re:neat by Anonymous Coward · · Score: 1

      Nonsense.

      My Windows blue screened on be just the other day. Not the blue screen of old but a spiffy new high res one.

      Also Win 10 fails to operate regularly, when it insists on installing updates and rebooting itself.

      In this case MS has no excuses about drivers and such. This is on a Surface Pro 4. MS hardware.

      Failures of my Linux desktop machines over the decades have been so rare that when does happen I go into shock.
         

    19. Re:neat by hackertourist · · Score: 1

      That jerks who decided to violate the then accepted norms of not using white spaces in path names just so that he can laugh and giggle at the unix descendants who have to fix all the scripts, this is for them.

      That's part of a longer transition from limited filenames (remem~1.ths?) to human-readable filenames. Allowing spaces was the right thing to do.

    20. Re:neat by 140Mandak262Jamuna · · Score: 1
      The right way to do it would be to propose "human readable file name" as an attribute to all files and have it accepted by some sort of ACM standard of POSIX standard and allow for clean migration of file names. But the decided to deliberately roll it in, and made sure most of the default locations "Documents and Settings" "Program Files" included the space just to break scripts, to break interoperability of scripts between unix and windows. It was no innocent thing they did.

      Unix can support any character in the file names, we could support whitespace from day one, we had clean escape characters to let us use anything other than / in the file name. But we did not use white space in file name to simplify the scripts. The whole aim of microsoft is to break the scripts. They did it with deliberate cruelty.

      Even if it was mere incompetence and ignorance, Sufficiently advanced incompetence is indistinguishable from malice.

      --
      sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    21. Re:neat by hackertourist · · Score: 1

      So you deliberately wrote scrips that supported only a subset of filenames, reducing ease of use in favor of ease of programming. That's not innocent either.

    22. Re: neat by 140Mandak262Jamuna · · Score: 1
      In the game of chicken the most rational winning strategy is to be highly irrational. The rules of the game are irrational, rationality will lose.

      You can put on the airs of smug superiority and laugh at us for being parochial and fanboism and irrational response etc.

      Read game theory, iterated prisoners dilemma problem, universal defector, universal cooperator, tit-for-tat strategy and understand the evolution of altruism, the conditions needed for altruism to emerge, and the conditions under which the society will remain peaceful and cooperative. You will understand the universal cooperators like you are the freeloaders. It is us who relentlessly and consistently punish bad behavior without fail are the ones who built this peaceful society. We are the ones manning the ramparts and keeping the Hun away. So that you can attend your high society party and decry the barbarism and violence of the people who man the ramparts.

      I have no respect for those who thrive due to my actions and have the ungodly amount of ignorance and look down on me. You are not entitled to truth. You can't handle the truth.

      --
      sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    23. Re:neat by 140Mandak262Jamuna · · Score: 1

      We came first. We wrote scripts based on the agreement that "whitespace in path names are to be avoided for portability and interoperability". We had set up some convention. Follow it, respect it. They overthrew it with malicious intent just to break interoperability. So I hate them.

      --
      sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    24. Re: neat by hackertourist · · Score: 1

      Sometimes breaking backwards compatibility is necessary. More readable filenames were a good reason to change the guideline.

    25. Re: neat by david_thornley · · Score: 1

      More readable filenames were a good idea. Allowing spaces in them is iffier.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    26. Re: neat by hackertourist · · Score: 1

      Spaces between words have been the norm for the last 2000 years or so (barring a few languages like Thai that still don't use them). Disallowing spaces was the outlier.

    27. Re: neat by ConceptJunkie · · Score: 1

      And the worst thing was putting spaces in names of standard directories so that every script that might break would break. Introducing support for spaces in filenames wasn't the problem. Forcing every Windows program and batch file to _have_ to deal with spaces in filenames, for no good reason, was the problem.

      --
      You are in a maze of twisty little passages, all alike.
    28. Re: neat by ConceptJunkie · · Score: 1

      No, they will do what they can with the people they have and call the results, no matter how horrible, the right thing.

      --
      You are in a maze of twisty little passages, all alike.
    29. Re: neat by david_thornley · · Score: 1

      You're exaggerating. At least through the middle of the first millennium, there were no spaces between words in many important documents. I don't remember seeing any in the copies of the Magna Carta I saw when I visited southern England, and that's later.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  3. 20 GOTO 10 by jfdavis668 · · Score: 1

    I wonder how fast a quantum computer executes and infinite loop?

    1. Re:20 GOTO 10 by cold+fjord · · Score: 1

      I wonder how fast a quantum computer executes and infinite loop?

      It depends on how big the infinity is. Some infinities are bigger than others.

      --
      much of left-wing thought is a kind of playing with fire by people who don't even know that fire is hot - George Orwell
    2. Re:20 GOTO 10 by Aighearach · · Score: 1

      -1/12th clock cycle. Don't they teach anything in schools these days?!

    3. Re:20 GOTO 10 by hcs_$reboot · · Score: 1

      Since you're program has no line 10, that should end pretty quickly.

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    4. Re:20 GOTO 10 by tsa · · Score: 1

      I had to give my head a hard reset after reading that.

      --

      -- Cheers!

  4. It's a hoax by Anonymous Coward · · Score: 1

    Microsoft Visual Basic was discontinued in 1998

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

    1. Re:It's a hoax by Random+Internet+Guy · · Score: 1

      But we do still have Visual Basic for Applications. The AI that takes your job will actually be an Excel macro.

  5. Re: Visual Basic? by jhaygood86 · · Score: 1

    Visual Basic has been based on .NET since 7.0....

  6. Congratulations by Anonymous Coward · · Score: 1

    Everyone knows that the software is the hardest part of making a quantum computer. LOL!

  7. Re:Yeah, It's called Gibberish by toonces33 · · Score: 1

    if..then..maybe..maybe not..probably..surely..

  8. VB? by slashmydots · · Score: 2

    Apparently there's nothing that Microsoft won't at least attempt to slow down

  9. Lame website is lame by Katatsumuri · · Score: 4, Informative

    They simply misspelled "Visual Studio". https://cloudblogs.microsoft.c...

  10. Re: Yeah, It's called Gibberish by tysonedwards · · Score: 1

    The real test will be a do while.

    --
    Thirty four characters live here.
  11. Re:Visual Basic? by NicknameUnavailable · · Score: 1

    VB was already pretty close to quantum computing - you could get different results every time you ran it pretty much following a statistical pattern like the uncertainty principle.

  12. Let me guess... by JaneTheIgnorantSlut · · Score: 2

    ... Q# ?

    1. Re:Let me guess... by Random+Internet+Guy · · Score: 3, Interesting

      Qbasic.

  13. Linux distro ported to quantum computer arch. by FudRucker · · Score: 2

    before microsoft even gets their programming language developed to a usable level.

    i can see the techy distros doing it first, Debian ports, Gentoo, maybe Slackware if there is a big enough demand for it, and netBSD would be jumping at the chance too

    --
    Politics is Treachery, Religion is Brainwashing
    1. Re: Linux distro ported to quantum computer arch. by Anonymous Coward · · Score: 1

      I'm pretty sure Poettering is already working on incorporating a programming language for quantum computers in systemd.

    2. Re:Linux distro ported to quantum computer arch. by MangoCats · · Score: 1

      IBM is ready for you, have at it: https://quantumexperience.ng.b...

      That's free access to a 20 qbit machine via the web.

    3. Re:Linux distro ported to quantum computer arch. by quax · · Score: 1

      You can't just port classical software to a quantum computer.

      At this time to use these machines you have to understand them on a very low level, i.e. what kind of universal quantum gate sets they can implement.

      That's what a quantum compiler is targeting, yet even those compilers you feed very low level quantum circuit models of what you want to run on the machines. To make this usable for coders, we will need a higher abstraction level than that.

      Before we can have any Open Source software on these machines we need an Open Source compiler toolchain, which my start-up is working on, but apparently my previous post on this was regarded as attention whoring and promptly down modded into oblivion.

  14. Visual Studio, not Visual Basic by gtarthur · · Score: 4, Informative

    Once again /. falls victim to a reference to a technical article written by a clueless tech writer. The MS announcement clearly states deep integration with Visual Studio, which any developer or even casual technical person would know makes much more sense. However, as another poster pointed out, those of us that care about this kind of stuff already know about it about 3-7 days before it shows up here.

    --
    Every change is not progress, but there is no progress without change.
    1. Re:Visual Studio, not Visual Basic by iggymanz · · Score: 2

      that's the least of my concerns. There are no true universal gate quantum computers, having a language for a thing that doesn't exist is silly. it's even open question whether a useful problem could even be expresseed on the real thing anyway, a UGQC might turn out to be mostly useless as tits on a bull.

  15. Goodbye C# then by sproketboy · · Score: 1

    Good riddance. Back to Basic!

    1. Re:Goodbye C# then by mea2214 · · Score: 2

      Call it QBasic.

  16. Re:MODERATORS KEEP CENSORING POSTS... apk by hackwrench · · Score: 2

    You've called already. Everyone who wanted to see it here and anywhere else has seen your silly call. Having been seen, it must not have been banned. Auto firing does not make you a better killer that taking the time to aim does. Auto firing wastes bullets and saves lives. You sir are a moron.

  17. A Programming Language For Quantum Computers? by cold+fjord · · Score: 1

    I assume it based on containers.

    --
    much of left-wing thought is a kind of playing with fire by people who don't even know that fire is hot - George Orwell
  18. Re:Yeah, It's called Gibberish by slickwillie · · Score: 2

    There is only one statement: switch (and no break). It executes all cases at the same time.

  19. which has yet to be named by charliemerritt03 · · Score: 1

    They will name it QUAVA (tm)

  20. Oh well by JustAnotherOldGuy · · Score: 1

    Well if Microsoft is launching it, it's definitely going to be a huge success for a year (possibly two) before they kill it, leaving untold numbers of suckers, err, I mean "programmers" cursing at being dropped in the dirt once again.

    --
    Just cruising through this digital world at 33 1/3 rpm...
  21. Why target nonexistent system by mattr · · Score: 1

    Well actually not so silly. An article on the hundred year computer language provided good insights that recommend it. These insights among others fueled the scientists who built Perl 6, a new advanced language. Or more closer to home, a cousin of mine invented the bar code. He did it in an interesting fashion, by dragging his fingers through sand at the beach and having an epiphany, apparently. The point being that laser scanners did not exist then as far as I know. It is a kind of bootstrapping.
    http://www.paulgraham.com/hund...

    1. Re:Why target nonexistent system by iggymanz · · Score: 1

      invoking the guts from a whale dropped through twin rotors of a sky crane, aka Perl 6, doesn't lend weight to any point you are making. Perl 6 is going straight to the ash can of history without significant use.

      your cousin likely is spewing B.S. unless his name is Normal Woodland or Bernard Silver, who invented barcode in the 1940s. the first protoypes used concentric circles of varying thickness by the same, so much for lines by fingers in the sand.

      don't need lasers to read a barcode, m'boy.

  22. Re:Did they put ads in it? by Anonymous Coward · · Score: 1

    They are not ads, but suggestions and messages from carefully selected partners.

  23. Open Source and Open IP to secure the QC future by quax · · Score: 1, Troll

    As far as I am concerned this "new" language is just a repacking of |Liquid>, which Microsoft tried to make look Open Source by moving it to github, and some journos and analysts promptly fell for it, despite the License being right there in the repo.

    Microsoft invests heavily to own the future of quantum computing. While now paying lip service to Open Source software, they also aggressively seek software patents in this space.

    I have no doubt, that they plan to do the same thing to quantum computing that they did to Linux based Android. They don't have to fear Open Source products if they can collect patent fees.

    My start-up tries to build an Open Source quantum computing tool chain, while also trying to secure as many fundamental patents that we can think of, that we then plan to extend to all other Open Source QC projects. (As long as the current laws are on the books, a defensive patent portfolio is the only option to keep companies like MS in check).

    We also developed a free AWS image, Bayesforge, where we try to curate all important Open Source tools in this space. (With a docker image to follow soon).

    We are just a three guys start-up, but having recently been accepted into the Quantum Machine Learning stream of Creative Destruction Lab in Toronto, we hope to finally attract some more VC money. But no matter the level of financing, start-ups won't be able to secure the quantum computing future from the likes of MS if we can't achieve the same community commitment that powered projects like GNU and Linux.

    1. Re:Open Source and Open IP to secure the QC future by quax · · Score: 1

      OK ...

      So pointing out that you have a problem with something that MS is doing and are starting an Open Source company to do something about it, is now considered trolling on /.

      Boy, this place really has gone to shit. Can we now have Jon Katz back pls?

  24. Also released as open source? by CustomSolvers2 · · Score: 1

    I am really looking forward to get a proper feeling about what a quantum-based whatever can do. I guess that the APIs will be identical to the ones in the other .NET languages, perhaps with some restrictions, but delivering pretty much the same; that's why having access to the source code might be required. I also guess that the theoretical advantages of these new approaches could only be enjoyed in quantum computers of very difficult (at least, to me) access.

    I am quite skeptical about all this, but certainly willing to analyse the whole situation properly; and I happen to be very experienced in the .NET Framework/Visual Studio. How are all these companies expecting to justify having to rebuild virtually everything from the ground up to comply with the dubious quantum label? A priori it seems very difficult to build hardware/software applying ideas on the lines of cats being there and/or not :)

    --
    Custom Solvers 2.0 = Alvaro Carballo Garcia = varocarbas.
  25. Re:MODERATORS KEEP CENSORING POSTS... apk by tehcyder · · Score: 1

    Auto firing does not make you a better killer that taking the time to aim does. Auto firing wastes bullets and saves lives.

    That's why the military don't bother with machine guns and the standard weapon for soldiers nowadays is still the musket.

    --
    To have a right to do a thing is not at all the same as to be right in doing it
  26. whom is this language for? by retchdog · · Score: 1

    i really don't understand the point of this exercise. for most bread-and-butter programming tasks, you can get most or all of the benefit of a (still hypothetical, mind) quantum co-processor with just one function, let's call it quantum_fourier_transform(). just with that, and a few classical reductions which Smart People will probably pre-wrap for you, you can run Shor's algorithm and all that sexy number theory.

    apart from that, there's what? full-blown quantum system simulation (can't really imagine physics grad students needing to use Visual Studio, but even if so, it's pretty niche), some adiabatic optimization methods (for which, as with QFT, 99% of the benefit can just be black-boxed), Grover's algorithm (not clear if this would even be useful in practice, but could be mostly black-boxed anyway). am i missing something? i haven't looked at QC deeply since the 1990s, but it also doesn't look like anything really new has been done on the algorithms side. people are just waiting (and waiting, and waiting) for the first real scalable quantum computer hardware.

    i'm just skeptical that programmers who are, by and large, baffled by first-order differential equations, will really need to program a QC directly. and the ones who could probably don't need whatever tinker-toy wrapper Microsoft is going to throw around it. maybe i'm being myopic, but i don't see what problem Microsoft is solving; then again, all they need to do is convince a handful of government bureaucrats to give them a boatload of patents, and it's free money for at least 17 years.

    --
    "They were pure niggers." – Noam Chomsky
  27. Every quantum program in existance by thegarbz · · Score: 1

    Given that a quantum bit can be a 0 and a 1 at the same time:

    dim ij as qbit
    do
      ij = ij;
      print(ij);
    while (ij);
    end

  28. No, please, no more .NET by RogueWarrior65 · · Score: 1

    I'll be it requires you to have Internet Explorer installed.

  29. Re:MODERATORS KEEP CENSORING POSTS... apk by hackwrench · · Score: 1

    Machine guns don't repeat more than 3 times anymore. You have never been in the military.