All Questions
Tagged with python or programming
1,751 questions
0
votes
0
answers
30
views
Is it useful to define a simple hardware-neutral data format for quantum optimization?
I’m new here.
I’ve been experimenting with quantum-inspired optimization and created a very simple, hardware-neutral data format (JSON) to describe optimization inputs and parameters before they are ...
1
vote
1
answer
100
views
Drawbacks of writing a compiler in Smalltalk
Sorry for the vague title, what I’m really asking is: when writing a compiler for a quantum DSL, many languages have chosen an imperative or functional host language. Few, if any, have chosen a purely ...
3
votes
1
answer
153
views
Converting qubit eigenstate to pyscf eigenstate
I want to convert a PySCF wavefunction in terms of CIstrings to a representation of a qubit state after Jordan-Wigner transformation of the Hamiltonian.
Qiskit-nature keeps the molecular ordering of ...
0
votes
1
answer
64
views
Unable to generate parity check matrices with generator matrices for CSS-T Code
In this paper, the authors provide a method for constructing qLDPC CSS-T codes. They provide example generator matrices for the binary linear codes $C_1$ and $C_2$ such that $Q(C_1, C_2)$ is a CSS-T ...
0
votes
0
answers
57
views
Qiskit Sampler job failed?
Im making a quantum SVM with the quantum kernel using qiskit. Right now, im trying to implement the noise model using the fake provider.
...
1
vote
1
answer
53
views
Limits of Hamiltonian Simulation on current IBM devices
I'm trying to simulate the 1D Ising Model with open periodic boundary conditions using the 2nd order Trotter product for 5 spins sites with J = -1.2 and h =-0.7.
$$ H_{Ising} = -J\sum_{i=0}^{spinsites ...
4
votes
2
answers
166
views
Stim: What is a good workflow for adding non-trivial detectors?
I have been using Stim for a while now. Still, I find it particularly difficult to add non-trivial detectors in Stim (such as the in-place access of the Y-Basis Gidney introduced), and I’m wondering ...
0
votes
1
answer
85
views
Signal processing operator implementation with quantum circuit
In the paper "Grand Unification of Quantum Algorithms", the following operator is introduced in eqn. (27) of said paper:
$$\hat{\Pi }_{\phi } = e^{i\phi (2\hat{\Pi }-\hat{I})}$$
The operator ...
1
vote
1
answer
133
views
Calculation of error probability in detector error model
I'm working with Stim to analyze error probabilities in quantum error correction circuits, and I'm encountering a confusing aspect regarding the DetectorErrorModel (DEM) output.
Consider Steane code ...
2
votes
1
answer
67
views
Qiskit IBM Runtime: least_busy() raises QiskitBackendNotFoundError even though backends are listed
I’m trying to connect to IBM Quantum backends using Qiskit Runtime Service.
Here’s my code (based on IBM Cloud setup guide):
...
2
votes
0
answers
51
views
Unexpected behavior of Qiskit IntegerComparator
I have two problems with the Qiskit IntegerComparator: I apply a comparison of a quantum register content with a classical integer in Qiskit and look at the ...
4
votes
1
answer
86
views
What resources/ set of resources will fully cover the content tested for IBM Qiskit v2.X Developer Certification?
Under the IBM Qiskit v2.X Developer Certification webpage, there are a few courses and resources listed (e.g. the 5 course series from IBM). However, do they fully cover the content tested in the ...
2
votes
2
answers
69
views
Converting numpy array representing Choi matrix to Kraus operators in QuTip
I want to convert a Choi matrix into a corresponding set of Kraus operators.
I start out from a numpy array representing the Choi matrix. I convert it to a QuTip Qobj object and then convert it to ...
2
votes
2
answers
411
views
Computing basic unit of information in quantum computers
In digital computer, 0 and 1 is the basic unit of information in memory, that gets processed.
Digital computer(having transistors) uses Boolean algebra to process this basic unit of information, where ...
1
vote
0
answers
85
views
Issue installing Chromobius package
I am trying to install the Chromobius package with the implementation of the Mobius decoder for colour codes. However, I am getting an error in the form of "ERROR: Failed building wheel for ...