Lazarus

Programming => General => Topic started by: Fred vS on April 12, 2021, 02:04:02 pm

Title: QCL - A Programming Language for Quantum Computers
Post by: Fred vS on April 12, 2021, 02:04:02 pm
Hello.

QCL (http://tph.tuwien.ac.at/~oemer/qcl.html) is a high level, architecture independent programming language for quantum computers, with a syntax derived from classical procedural languages like C or Pascal.

Does fpc have some plan for Quantum Computers?

Thanks.

Fre;D
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: marcov on April 12, 2021, 02:14:48 pm
Yes, the usual case with new architectures. Mostly the plan is wait to get one donated and till somebody arrives that wants to do the dirty work of the initial port.
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: Fred vS on April 12, 2021, 02:18:35 pm
Yes, the usual case with new architectures. Mostly the plan is wait to get one donated and till somebody arrives that wants to do the dirty work of the initial port.

Ok for donation, easy to fix this, but what is the dirty work of the initial port?
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: Bart on April 12, 2021, 02:21:07 pm
If you donate a quantum computer to me, I'll be happy to do the testing  O:-)

Bart
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: marcov on April 12, 2021, 02:22:41 pm
Yes, the usual case with new architectures. Mostly the plan is wait to get one donated and till somebody arrives that wants to do the dirty work of the initial port.

Ok for donation, easy to fix this, but what is the dirty work of the initial port?

Get something initial working on it.
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: Fred vS on April 12, 2021, 02:25:28 pm
If you donate a quantum computer to me, I'll be happy to do the testing  O:-)

Bart

Hum, let see, something like this (https://www.discovermagazine.com/technology/a-desktop-quantum-computer-for-just-usd5-000) one?
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: schuler on May 04, 2021, 09:03:11 pm
Most probably, coding a word processor in QCL wouldn't make sense. It would make sense to run specific algorithms with QCL.

An easy approach to connecting to quantum hardware would be via OpenCL:
https://www.khronos.org/news/permalink/opencl-based-quantum-computing-project-takes-top-spot-at-55th-bt-young-scientist-and-technology-exhibition-btyste

https://qcgpu.github.io/

There are plenty of OpenCL interfaces for pascal...
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: pascal111 on May 04, 2021, 10:13:35 pm
"Quantum Computers!!!"  :o
I'm still learning how to program digital computers. I feel I'm riding camels while new things are being made and don't know how I'll gain knowledge of all of that.
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: dseligo on May 04, 2021, 10:44:55 pm
"Quantum Computers!!!"  :o
I'm still learning how to program digital computers. I feel I'm riding camels while new things are being made and don't know how I'll gain knowledge of all of that.

Don't worry, you are not alone. :)
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: mercurhyo on May 04, 2021, 11:21:10 pm
If you donate a quantum computer to me, I'll be happy to do the testing  O:-)

Bart

I think there are some emulators/simulators on the way

check out
http://quantum-studio.net/ (http://quantum-studio.net/) which seems of interest (at least to me with my 12 cores Ryzen AMD, and MSI RTX3080 3000+ cores GPU monsterS)

I picked it up from this long list
https://quantiki.org/wiki/list-qc-simulators (https://quantiki.org/wiki/list-qc-simulators)
Enjoy and happy testing  ;)
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: pascal111 on May 04, 2021, 11:34:51 pm
"Quantum Computers!!!"  :o
I'm still learning how to program digital computers. I feel I'm riding camels while new things are being made and don't know how I'll gain knowledge of all of that.

Don't worry, you are not alone. :)

This comforts me, others those sharing the same feeling. I remember WEB pages I read about voices of VB6 community or those programmers of all levels of the society begging Microsoft to save their works and codes libraries they made through the years by keeping supporting VB6 or making a new supported version for them with complete compatibility with VB6, but there was no hope. Imagine if big companies made the quantum computers to be the common ones to make jobs and digital computers are considered retro like VB6, what we will do?! they control our destination  8)
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: mercurhyo on May 04, 2021, 11:41:21 pm
more infos on quantum computing ? well, folks
https://quantiki.org/wiki/main-page (https://quantiki.org/wiki/main-page)
it's a wiki on the subject, follow links on the page
I'm interested in for almost 1 year
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: Ñuño_Martínez on May 05, 2021, 11:59:21 am
I don't see to use Pascal to write quantum programs.  Quantum computing has no the same goals than digital computing.  Actually it will not substitute it never, ever.  It is quite a niche computing, with more common with [niche] analog computing than with digital computing.
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: mercurhyo on May 05, 2021, 02:59:54 pm
I don't see to use Pascal to write quantum programs.  Quantum computing has no the same goals than digital computing.  Actually it will not substitute it never, ever.  It is quite a niche computing, with more common with [niche] analog computing than with digital computing.

define "niche" bro, you sound like people 60years ago calling "niche" televisions vs books  :D ;)

to me, a niche is something having a great past and still being used by passionate people, absolutelly not something new being developped, even by few. So it's better to refine def of "niche" please

books did not substitute tv however less and less people read books more and more watch tv
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: mercurhyo on May 05, 2021, 03:18:09 pm
Q programming has an advantage toward classic computing =
- classic computing is based on true OR false at bit level, Q computing is much more based on true AND false... meaning it can mimic more easily the approximations contained inside your own neuronal system where an idea can not only be true or false, but "both", "more or less", "much more than less" etc etc.
I'm not sure mimicing your brain that do not support true or false but plenty of coloured answers between has to become a "niche"  with clients demanding more and more "IA". It's not only a fashion LOL

Just in time, Im pretty sure old compilers and languages would at least have extensions (i mean must) or become oldies "emulators"

chessmate!
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: alpine on May 05, 2021, 05:06:04 pm
@mercurhyo
You should find a good book about "fuzzy sets". I bet you'll find the theory interesting :)

IMHO, Ñuño_Martínez means that QC is toward solving certain class of problems, not for GP.
Title: Re: QCL - A Programming Language for Quantum Computers
Post by: Bart on May 05, 2021, 05:43:28 pm
Hum, let see, something like this (https://www.discovermagazine.com/technology/a-desktop-quantum-computer-for-just-usd5-000) one?

I suppose that spyware is built into that one?

Bart
TinyPortal © 2005-2018