quantum-computing Questions
4
Solved
In short: If I have access to a real quantum computer, is there a possibility to control it using Q#?
Before you downvote this into nirvana because "there's no quantum computer available yet...
Towards asked 13/12, 2017 at 20:41
2
defining function for toffoli gate:
def toffoli(qc,i1,i2,i3):
qc.h(i3)
qc.cx(i2,i3)
qc.tdg(i3)
qc.cx(i1,i3)
qc.t(i3)
qc.cx(i2,i3)
qc.tdg(i3)
qc.cx(i1,i3)
qc.t(i3)
qc.tdg(i2)
qc.cx(i1,i2)
qc.h(i3)
...
Zippora asked 30/5, 2018 at 18:36
2
In Qiskit there is the transpile() function (see documentation). My understanding of a transpiler is best described as a way of converting one set of gate operations to another set of gate operatio...
Golightly asked 14/5, 2020 at 6:47
2
Hi all: Cirq offers a way to create a unitary gate from an array. I tried doing the same in Qiskit but have not been able to quite make it. Here is a sample code with what I could put together so f...
Airport asked 24/12, 2019 at 19:6
1
Solved
I have a use case in Q# where I have qubit register qs and need to apply the CNOT gate on every qubit except the first one, using the first one as control. Using a for loop I can do it as follows:
...
Pointdevice asked 11/9, 2019 at 11:41
2
Solved
For my AI class, I have to make a quantum tic-tac-toe game using alpha-beta pruning.
I'm thinking about the best way to represent a state of the board - my first intuition is to use a sort of neig...
Surcharge asked 26/11, 2010 at 12:27
2
Solved
What is the difference between a physical and a logical qubit?
I hope someone can help me with this question, I can't figure out exactly what the difference is.
Best, Dirma
Assertion asked 10/10, 2017 at 10:38
2
Solved
This is my first Q# program and i'm following this getting started link.https://learn.microsoft.com/en-us/quantum/quantum-writeaquantumprogram?view=qsharp-preview
Error is
The name 'BellTest' ...
Nephrosis asked 18/12, 2017 at 17:9
10
Solved
I read a while back that Quantum Computers can break most types of hashing and encryption in use today in a very short amount of time(I believe it was mere minutes). How is it possible? I've tried ...
Sorry asked 4/5, 2010 at 20:37
3
I've read time and again, as I dig through all the available literature, that in quantum computing, the smallest unit of value--a qubit--must remain "secret" or unknown until such a time as it is m...
Kobarid asked 5/4, 2017 at 21:16
9
While we are waiting for our quantum computers, is it possible to write a software simulation of one? I suspect the answer is no, but hope the reasons why not will throw some light on the mystery. ...
Ober asked 4/1, 2011 at 15:15
1
Solved
I'm trying to use the IBM Q Experience API and I installed the library and wrote a quick test code. At first, it couldn't find the module. Then, I added the whole sys thing. Admittedly, I just copi...
Octameter asked 25/1, 2018 at 23:38
1
Solved
The only places I know that you can play with quantum computing are the google quantum playground and the ibm's quantum experience. While the first one uses qscript and the second qasm languages (w...
Diptych asked 21/6, 2017 at 20:8
2
Solved
I have a von Neumann equation which looks like:
dr/dt = - i [H, r], where r and H are square matricies of complex numbers and I need to find r(t) using python script.
Is there any standart instrum...
Delwyn asked 4/11, 2014 at 18:53
1
Solved
I'm looking for algorithms that take an arbitrary quantum state made up of a sum of weighted classical states made up of bits, like this:
|0000>/2 - |0011>/2 + |0100>/2 - |0111>/2
an...
Buckeye asked 27/4, 2014 at 17:55
1
I have just read an article talking about quantum physics. One interesting thing is that in a Haskell programmer's view there are some similarities between these two fields.
First of all, measurem...
Deste asked 27/8, 2013 at 12:39
2
Solved
I often see people say if you can do X in some language you can do Y in another language which is the Turing Complete argument. So You'll have often (usually in a snide comment) "sure you can do t ...
Docilu asked 28/8, 2011 at 0:10
11
Solved
Should practical quantum computing become a reality, I am wondering if there are any public key cryptographic algorithms that are based on NP-complete problems, rather than integer factorizat...
Nogood asked 22/11, 2008 at 8:6
6
Solved
In physics, its the ability for particles to exist in multiple/parallel dynamic states at a particular point in time. In computing, would it be the ability of a data bit to equal 1 or 0 at th...
Holbert asked 2/7, 2010 at 4:28
1
© 2022 - 2024 — McMap. All rights reserved.