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
-1 votes
1 answer
89 views

Challenges in Comparing Classical and Quantum Optimization Methods

Has anyone attempted to solve a simple optimization problem using both classical and quantum optimization methods and compared the results? I have tried multiple times, but the quantum method has ...
Edwin Isdory's user avatar
0 votes
1 answer
79 views

Could Gödel's incompleteness theorem have parallels in quantum computing phenomena?

Gödel's incompleteness theorem deals with the limits of formal mathematical systems, showing that there are true statements that cannot be proven within the system. Given the probabilistic and non-...
luca LucaMck pro Mobile Macken's user avatar
1 vote
1 answer
54 views

Why does stim::FrameSimulator work?

I have read the main stim paper and understood it. I understand the concept of propogating a Pauli Frame and having a reference Frame. I understand that we want to multiply Z into a pauli frame with ...
user33900's user avatar
1 vote
0 answers
42 views

I have trouble using the alternatives for some commands in older versions of qiskit

I have a code that calculates the transition amplitute between and using the ZZFeatureMap with 4 repetitions and default data mapping function. Use the qasm_simulator with shots = 8192, seed_simulator ...
Ege Tunç's user avatar
1 vote
1 answer
71 views

QPE implementation with 4 qubits

I'm trying to implement a circuit for QPE, i start with 4 qubits but the results are incorrect (even for 3 or 5 qubits). the used unitary gate is : ...
Coper's user avatar
  • 61
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
0 votes
1 answer
96 views

Can quantum computers eventually be programmed "normally"?

They tell us that eventually quantum computers will break all current encryption methods. On the other hand, current quantum computers are programmed at a very low, mathematical level and for very ...
ManoG1234609's user avatar
3 votes
0 answers
44 views

Transpilation error: CircuitError: 'The amount of qubit(0)/clbit(0) arguments does not match the gate expectation (2).'

I am trying to implement a algoritm that reduces the number of qubits required for MAXCUT optimization. I need to create a custom gate that encodes a diagonal unitary matrix where the diagonal ...
Guillermo's user avatar
0 votes
0 answers
58 views

Is this the right code to run a QSVC algorithm on a dataset?

...
Sai Vellanki's user avatar
1 vote
0 answers
53 views

Reducing Estimator time for calculating expectation values

I have a circuit with $2N + 1$ qubits and with depth $2t + 2$, where $t$ is essentially the number of trotter steps, or the number of times a fixed block of gates repeats itself in the circuit. After ...
Soumyadeep sarma's user avatar
2 votes
1 answer
77 views

General number of classical bits: recycles qubits

I am trying to write a Qiskit routine to perform qubit recycling for Shor's algorithm. This is a procedure by which the M-bit control register is replaced by a single quantum register, and the ...
Robert Singleton's user avatar
2 votes
2 answers
135 views

Can non-linear operations be implemented as a circuit on a quantum computer?

Suppose I have a Quantum circuit, which gives an output state $|\psi \rangle$ let's say. I wish to obtain the reduced density matrix by tracing out subsystem B, i.e. $\rho = |\psi \rangle \langle \psi ...
Soumyadeep sarma's user avatar
2 votes
2 answers
152 views

Hamiltonian Simulation: What's the meaning of t in $\exp(iAt)$?

My main goal is to find eigenvalues of some hamiltonian matrix $A$. When implementing Quantum Phase Estimation, I need to provide my circuit with informations about $A$. From what I have seen so far, ...
Max's user avatar
  • 23
2 votes
1 answer
163 views

Pauli Strings on the same qubit?

I am working on solving a Max-Cut problem using fewer qubits via efficient encoding methods of more classical information onto a single qubit.Using the method of The original problem has the ...
Another Random Guy's user avatar

15 30 50 per page
1
2 3 4 5
11