Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.lang.intercal > #19
| From | Claudio Calvelli <c.news@w42.org.invalid> |
|---|---|
| Newsgroups | alt.lang.intercal |
| Subject | Re: Question about CLC-INTERCAL |
| Date | 2019-02-15 08:25 +0000 |
| Organization | No thanks |
| Message-ID | <slrnq6ctr3.fmi.c.news@z.w42.org> (permalink) |
| References | <695ec00a-ee4a-4482-8d58-5b9e962c4651@googlegroups.com> |
On 2019-02-14, spartan.the <spartan.the@gmail.com> wrote: > But digging into it more I found that CLC-INTERCAL was designed for quantum computing very early, since version 0.04. I think it must be much more mature today in QC, compared to what IBM, Microsoft or Google have to offer. Not absolutely sure the word is "designed". I think alcohol might have been involved that evening. All I know is that before the next morning somebody (and I'm not admitting it could have been me) had added some code to my compiler and it somehow supported quantum computers (but of course could not be tested for some excuse due to the unavailablility of hardware). > My question is very simple: what are best practices to write a program in CLC-INTERCAL that reads out HELLO WORLD! with probability greater or equal to 98%? That's a very good question, quantum bits are expected to be all states at once, but the normal probability to find one with value "0" is 50%. So a "READ OUT WHILE NOT READING OUT" would not do. Creating a number of quantum bits and asking they are found to be in a particular set of states when observed seems to be the way, but I can't say I have any ready code for that. Will need to think about it. > (Of course, using QC. Because everyone knows how to write it without QC with almost 100% chances it will read out it. But these techniques are considered old today.) Of course. With any form of INTERCAL the task is simplicity itself as long as you don't want to make sure you are using QC functionality. > /s CLC
Back to alt.lang.intercal | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Question about CLC-INTERCAL "spartan.the" <spartan.the@gmail.com> - 2019-02-14 04:48 -0800
Re: Question about CLC-INTERCAL Claudio Calvelli <c.news@w42.org.invalid> - 2019-02-15 08:25 +0000
Re: Question about CLC-INTERCAL "spartan.the" <spartan.the@gmail.com> - 2019-02-27 10:53 -0800
csiph-web