Questions tagged [qcl]

For questions about the Quantum Computing Language used in quantum programming.

The Quantum Computation Language (QCL) is a platform-independent high-level programming language for quantum computers. Its syntax is derived from the C language, providing data structures for quantum computation, while allowing usage of classical code.

Resources

7 questions
3
votes
1 answer

Error trying to install QCL (Quantum Computation Language) on Mac 10.11

I am trying to install QCL-0.6.4 from this source, but I keep getting errors, when I try it with the make command in the terminal. I came along this thread about installing QCL on OSX, but when trying to adjust the Makefile I always come across this…
Julian
  • 33
  • 3
3
votes
1 answer

How can I run QCL (quantum programming language) on Windows?

I'm sure someone must have done this before. I've tried compiling QCL for Cygwin but it just doesn't work. If someone has already managed to compile it for Cygwin can you please post a copy? Or alternatively suggest an easier way to run it in…
Gary Garygary
  • 141
  • 2
  • 14
1
vote
1 answer

Operator "measure" in QCL (Quantum Computing Language)

It's been a while since I got into QCL but I ran into some difficulties by trying to figure out the functioning of measure regX or measure regX,m. What does this do on the quantum registers? And the m integer?
mkll
  • 41
  • 9
1
vote
1 answer

How to install quantum computation language on mac os x?

I am trying to install QCL 0.6.3 (available from http://tph.tuwien.ac.at/~oemer/qcl.html) on mac os 10.7.2. I have developer tools installed and can do basic programming in c but I don't know a lot about makefiles and such. The installation…
1
vote
0 answers

How can I install qcl on OSX?

The answer to this question might be easy for some of you but I haven't been able to figure it out. There is very little information on this topic on the web, I guess it doesn't interest a lot of people. I'm trying to install qcl on my mac.…
YT98
  • 111
  • 1
  • 3
  • 13
0
votes
1 answer

floor and ceil from QCL (Quantum Computer Language)

I'm working on QCL and some questions came up about internal functions. I'd like to know what the operators floor(something) and ceil(something) are. I know they are related to math operations, but what do they do exactly?
mkll
  • 41
  • 9
0
votes
1 answer

How can I make a two qubit "controlled rotate" in QCL

I am trying to create a program in QCL (Quantum Computer Language) which randomly generates 1 of 6 states (i.e. a die rolling program). While implementing this, I found myself needing to write a function as follows: operator CondRot(qureg r, qureg…
Alex Nichol
  • 7,512
  • 4
  • 32
  • 30