Recent

Author Topic: QCL - A Programming Language for Quantum Computers  (Read 888 times)

Fred vS

  • Hero Member
  • *****
  • Posts: 2210
    • StrumPract is the musicians best friend
QCL - A Programming Language for Quantum Computers
« on: April 12, 2021, 02:04:02 pm »
Hello.

QCL 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
« Last Edit: April 12, 2021, 02:12:32 pm by Fred vS »
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9278
  • FPC developer.
Re: QCL - A Programming Language for Quantum Computers
« Reply #1 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.

Fred vS

  • Hero Member
  • *****
  • Posts: 2210
    • StrumPract is the musicians best friend
Re: QCL - A Programming Language for Quantum Computers
« Reply #2 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?
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

Bart

  • Hero Member
  • *****
  • Posts: 4256
    • Bart en Mariska's Webstek
Re: QCL - A Programming Language for Quantum Computers
« Reply #3 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

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9278
  • FPC developer.
Re: QCL - A Programming Language for Quantum Computers
« Reply #4 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.

Fred vS

  • Hero Member
  • *****
  • Posts: 2210
    • StrumPract is the musicians best friend
Re: QCL - A Programming Language for Quantum Computers
« Reply #5 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 one?
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

schuler

  • Full Member
  • ***
  • Posts: 188
Re: QCL - A Programming Language for Quantum Computers
« Reply #6 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...

pascal111

  • Full Member
  • ***
  • Posts: 136
Re: QCL - A Programming Language for Quantum Computers
« Reply #7 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.

dseligo

  • Full Member
  • ***
  • Posts: 238
Re: QCL - A Programming Language for Quantum Computers
« Reply #8 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. :)

mercurhyo

  • Full Member
  • ***
  • Posts: 210
Re: QCL - A Programming Language for Quantum Computers
« Reply #9 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/ 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
Enjoy and happy testing  ;)
« Last Edit: May 04, 2021, 11:32:45 pm by mercurhyo »
DEO MERCHVRIO - Linux, Win10pro - Ryzen9XT 24threads + Geoforce Rtx 3080SUPRIM
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

pascal111

  • Full Member
  • ***
  • Posts: 136
Re: QCL - A Programming Language for Quantum Computers
« Reply #10 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)

mercurhyo

  • Full Member
  • ***
  • Posts: 210
Re: QCL - A Programming Language for Quantum Computers
« Reply #11 on: May 04, 2021, 11:41:21 pm »
more infos on quantum computing ? well, folks
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
DEO MERCHVRIO - Linux, Win10pro - Ryzen9XT 24threads + Geoforce Rtx 3080SUPRIM
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1109
    • Burdjia
Re: QCL - A Programming Language for Quantum Computers
« Reply #12 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.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

mercurhyo

  • Full Member
  • ***
  • Posts: 210
Re: QCL - A Programming Language for Quantum Computers
« Reply #13 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
« Last Edit: May 05, 2021, 03:12:00 pm by mercurhyo »
DEO MERCHVRIO - Linux, Win10pro - Ryzen9XT 24threads + Geoforce Rtx 3080SUPRIM
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

mercurhyo

  • Full Member
  • ***
  • Posts: 210
Re: QCL - A Programming Language for Quantum Computers
« Reply #14 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!
« Last Edit: May 05, 2021, 04:01:18 pm by mercurhyo »
DEO MERCHVRIO - Linux, Win10pro - Ryzen9XT 24threads + Geoforce Rtx 3080SUPRIM
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

 

TinyPortal © 2005-2018