Questions tagged [programming]

For any questions whose answer is expected to require code or programming notions. For questions about a specific framework (e.g. qiskit or cirq) please also include a more specific tag. If your question is about installation or any specific framework error, consider posting it in https://stackoverflow.com/ instead.

Quantum programming languages with tags on this site include:

More tags will hopefully be added in the future and creating tags on other quantum programming languages for appropriate questions is also encouraged.

1593 questions
86
votes
6 answers

What programming languages are available for quantum computers?

From this question, I gathered that the main quantum computing programming languages are Q# and QISKit. What other programming languages are available for programming quantum computers? Are there certain benefits to choosing particular ones? EDIT: I…
Pro Q
  • 993
  • 1
  • 7
  • 9
13
votes
3 answers

Which programming language is suitable for a beginner?

I understand there are a lot of programming languages (e.g. Q#, Qiskit, etc.) Which one is suitable for someone that just started learning programming and doesn't know anything about quantum mechanics?
Daniel Mana
  • 271
  • 1
  • 4
11
votes
3 answers

Are there any quantum software startups?

I am aware of the quantum hardware startup Rigetti and I wonder if there are any quantum startups that build software on top of current quantum computer hardware for commercial applications? Related question: Does a complete list of open quantum…
QNerd
  • 113
  • 5
8
votes
3 answers

Which quantum computing programming language should I learn?

Which quantum computing programming language should I learn? What are the benefits of said language? As of Wikipedia, there's quite a bit to choose from. I'm looking to develop end-user applications (when quantum computers become end-user ready).
AJ_4real
  • 153
  • 3
7
votes
3 answers

Is there something like GitHub for quantum programming?

I'm just learning about quantum computer but some of it has been available for people to research & practice so I'd like to study it myself. The only kind of quantum computing I found so far is IBM cloud service and Q# quantum simulator but the…
6
votes
2 answers

How many shots should one take to get a reliable estimate in a quantum program?

When testing my quantum programs, I wonder how many shots I must take to get a specific accuracy. Are there any papers that you can recommend that analyze this?
Hannah
  • 529
  • 2
  • 9
6
votes
3 answers

Can you transform a quantum program into an arrangement of slits?

Is it possible (in theory) to convert any problem that can be solved on a quantum computer into an arrangement of slits carved into a piece of metal foil, and then to run the program by shining light on the foil and observing the pattern of light…
vy32
  • 641
  • 3
  • 13
5
votes
1 answer

Is there a software to simplify commutators such as $[{\hat a}^\dagger{\hat a}^\dagger {\hat a},{\hat a}^\dagger\hat a \hat a]$?

Sometimes I need to simplify some commutators in the form $[{\hat a}^\dagger{\hat a}^\dagger {\hat a},{\hat a}^\dagger\hat a \hat a]$. Doing it by hand is exhausting and boring. Is there software (Matlab, Python, Mathematica, etc) that can handle…
Bekaso
  • 285
  • 2
  • 5
4
votes
0 answers

What are some forums/resources/methods that help facilitate getting a job in quantum computing?

I've been applying to a lot of jobs involving quantum computing on LinkedIn now but the applications all seem to end up getting lost to the void and I haven't had even one reply from any of them. I was wondering if there is a better more effective…
Corbs
  • 81
  • 3
3
votes
1 answer

symbolic quantum computing using sympy : how to use arbitrary gate?

I'm trying to use sympy to compute symbolic results of quantum circuits using dirac notation. More specifically, I'd like to use the three rotation gates. I try to implement them in the following way, using sympy symbolic quantum physics package :…
nathan raynal
  • 583
  • 2
  • 12
3
votes
2 answers

Where is the problem stored in a quantum computer?

I am trying to develop a more intuitive understanding of quantum computing -- I suppose Feynman would tell me that’s impossible! Let’s try: if we are trying to find the minimum of a surface or function, I can picture a grouping of qubits that would…
John Fistere
  • 221
  • 1
  • 3
3
votes
1 answer

Should I learn a low-level QC programming language?

I've referred to some programming language recommendation questions on here, so I thought I'd post a follow-up question here. I'm a total beginner to the field but want to seriously learn it. Is there a low-level, QC-equivalent of assembly language,…
user9343456
  • 133
  • 3
2
votes
1 answer

Efficient expectation value of a local operator

I want to numerically compute something of the form $x=\langle\psi| A\otimes I |\psi\rangle$ where $I$ is the identity. Of course I can construct $A\otimes I$ and take the inner product, but I would like to save memory and compute $x$ without having…
Nichola
  • 392
  • 1
  • 8
2
votes
1 answer

Understanding vs designing quantum algorithms

I'm quite new to quantum computing (1 week) but I noticed that implementing the circuits of someone else is quite simple, while having a deep grasp on it is way harder. Moreover I definetly don't feel ready to design quantum algorithms, despite I…
Beppe
  • 21
  • 3
2
votes
1 answer

is there such things as Quantum Operating system?

Wikipedia informed me about quite a lot of language that exist for quantum computing, with diverse low or high level language, but I don't know about specific operating system made for specific architecture of quantum computers. Are we at the same…
dominix
  • 123
  • 6
1
2