Skip to main content

All Questions

1 vote
1 answer
104 views

How do you apply the Hadamard function to a register of qubits in Q#?

I am learning Q# and am trying to create Deutsch's algorithm. My code seems to have an issue since I'm still learning. The code recognizes that line 3 contains an error. Can someone tell me what I am ...
Peter Tsagalis's user avatar
0 votes
1 answer
80 views

Cannot Find referance DeutschJozsa in __init__.py

I am new to quantum computing and Python. I tried to make a quantum simulation with qiskit, but I have some import issues that I can't solve, and I decided to ask it here. I tried to import ...
1ntelultra's user avatar
1 vote
1 answer
453 views

Deustch-Jozsa algorithm for a specific problem, doesn't make sense?

I am trying to implement Deustch-Jozsa Algorithm where function f(x) = 0 for even and f(x) = 1 for odd, for a four-bit number. After writing the numbers out I found a pattern as described below ...
JaZZyCooL's user avatar