All Questions
Tagged with python or programming
1,754 questions
Score of 1
0 answers
46 views
stim & pymatching - rotated planar codes with Pauli channel noise
I initialized the circuit for rotated planar codes with Pauli channel noise and I wanted to use PyMatching to predict the logical error probability per round. When I used ...
Score of 1
1 answer
55 views
Score of 2
0 answers
105 views
How can I find the mapping between logical qubits and physical qubits in IBM Quantum Composer after running a job?
I executed a 3-qubit Grover-based QRNG circuit on IBM Quantum Composer and obtained the transpiled OpenQASM and backend calibration data.
From the OpenQASM I can see the measurement mapping:
...
Score of 1
3 answers
468 views
Example of casting a classical computing task as a quantum computing task
Please advise on a reading material that would help illuminate for me the area that appears to be largely overlooked.
I see scholarly articles on quantum algorithms and complexity, popular ...
Score of 2
1 answer
74 views
Operator 'Q' for a 3 ancilla and 1 wire qubits QAE circuit?
I have a simple $A$ operator, $A=HR_y(\pi /4)H$, which when applied to $|0\rangle$ gives a 14.6447% probability for $|1\rangle$ that I want to measure using Quantum Amplitude Estimation. How do I go ...
Score of 1
0 answers
76 views
Understanding Amplitude Amplification in the Original HHL Algorithm vs. Modern Implementations
Understanding Amplitude Amplification in the Original HHL Algorithm vs. Modern Implementations
I'm studying the original HHL algorithm from the 2009 paper (arXiv:0811.3171) and trying to implement it ...
Score of 0
0 answers
37 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 ...
Score of 1
1 answer
136 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 ...
Score of 3
1 answer
226 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 ...
Score of 0
1 answer
78 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 ...
Score of 0
0 answers
92 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.
...
Score of 1
1 answer
71 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 ...
Score of 4
2 answers
350 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 ...
Score of 0
1 answer
151 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 ...
Score of 1
1 answer
187 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 ...