Skip to main content

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.

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

How can a beginner start contributing to quantum open-source projects (e.g., Qiskit/Cirq)?

I’m new to quantum computing and eager to contribute to open-source projects like Qiskit or Cirq. Could you recommend: Beginner-friendly resources (tutorials, books, or courses) to build foundational ...
Yemane's user avatar
  • 23
0 votes
0 answers
33 views

Is it recommended to use Qiskit with PyTorch Lightning?

I am new to QML and I am trying to code out my first quantum machine learning project. In particular, I am interested to try out hybrid quantum classical neural networks. I have experience with AI in ...
Isaac Cheong's user avatar
1 vote
0 answers
61 views

My question concerns about the interest of qc and I am confused what actually happens in qc (Quantum computing) [closed]

I have researched about this a bit, and I am an undergraduate student. I am having questions like: How interesting is a quantum computing (qc) career? In regards to people, who first found this ...
Swathya's user avatar
  • 21
1 vote
0 answers
48 views

Introducing myself to the fourm [closed]

I don't have a problem at the moment. I have decided to go outside of my comfort zone and dive into quantum computing and start learning it with little to no schooling in its foundation. I plan to use ...
Jermaine Tucker's user avatar
3 votes
1 answer
92 views

Inconsistent values of $S$ (CHSH inequality) in my Qiskit implementation of the E91 protocol

I'm currently experimenting with Qiskit and I wanted to implement the Ekert's E91 protocol. I had no problem writing the code, but then I got to the point of calculating the $S$ value to detect the ...
Lorenzo's user avatar
  • 31
2 votes
1 answer
73 views

BP decoders for qLDPC codes

Do BP (BP-OSD, BP-LSD) decoders process 3-dimensional graphs of a simple noise model, where the third dimension is the time dimension, like how the MWPM decoder works for surface codes? Is there a ...
user1232537's user avatar
1 vote
1 answer
135 views

Calculate expectation value using Qiskit Simulator and Estimator

...
peachnuts's user avatar
  • 1,485
-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
1 vote
0 answers
43 views

Issue with Converting 2D Green's Function to 1D and Concurrence Behavior in Polar Coordinates

I am working on a model in superconductivity and have found the normal and anomalous Green's functions in real space. First, I computed the Green's functions in terms of the variables $ x $ and $ y $, ...
amirhoseyn Asghari's user avatar
0 votes
0 answers
17 views

Intermediate representation in BQSkit framework

I am trying to understand the IR representation in BQSKit framework. Below is the documentation link. https://bqskit.readthedocs.io/en/latest/source/ir.html I am really not able to understand how a ...
Manu's user avatar
  • 257
0 votes
0 answers
21 views

How to calculate Minimum Residual Contangle for Entanglement

I used expectation values of Heisenberg Langevin equations to construct a 6 × 6 covariance matrix between three qubits. Now, I am confused in the formula for minimum Residual contangle. I have ...
Syed Shahmir Kazmi's user avatar
2 votes
1 answer
77 views

How do you set up Microsoft's Classic QDK?

Around the beginning of 2024, Microsoft replaced the "Classic" Q# quantum development kit with a new "Modern" QDK. Code written for the classic version can no longer can be run ...
Jahan Claes's user avatar
  • 1,237
0 votes
1 answer
52 views

AttributeError: 'QuantumCircuit' object has no attribute 'uc'

I am getting the below error: AttributeError: 'QuantumCircuit' object has no attribute 'uc'. Did you mean: 'u'? while executing the below line. ...
Manu's user avatar
  • 257
1 vote
1 answer
58 views

How do I add the real device noise of the aer simulator in the old version (0.42) of qiskit?

I wish I could add the noise of a real quantum computer when using aersimulator. Normally, this requires the following code to be used: ...
Haoyuan lin's user avatar

15 30 50 per page
1
2 3 4 5
116