Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
I have two problems with the QiskitIntegerComparator: I apply a comparison of a quantum register content with a classical integer in Qiskit and look at the ...
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 ...
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 ...
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 ...
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 ...
I want to perform constant-quantum modular addition: $|x\rangle \mapsto |x + K \bmod R \rangle$ where the input $x$ can be greater than $R$. E.g. For $K=1, R=10$ the input $|11 \rangle$ should map to $...