Questions tagged [compiling]

For questions about compiling problems on quantum hardware. For annealing devices, this can include minor-embedding, quadratization, and other types of gadgetization; while for circuit-based devices this can include anything necessary to get a circuit running on a particular hardware.

Filter by
Sorted by
Tagged with
5 votes
2 answers
84 views

How to get IonQ Task's Native Instructions/Decomposition (Amazon Braket)

When you run something on one of IBM's free computers, you can look up what it actually ran; i.e. it gives you the decomposition of the circuit you told it to run. When running on IonQ with Amazon's ...
7 votes
2 answers
1k views

How are quantum circuits run on real quantum computers?

Sorry if this question sounds trivial, however I'm struggling to get the intuition of how quantum circuits are actually run on real quantum hardware. As far as I know, in a simulated environment, ...
5 votes
1 answer
392 views

Two qubit gate decomposition using Qiskit

I am writing some python code to be able to optimise the total error in two qubit gate decomposition. I am using the Qiskit module qiskit.quantum_info.synthesis.two_qubit_decompose My question relates ...
2 votes
1 answer
69 views

High level implementation of quantum oracles

My question is related to a similar question which did not get a satisfactory answer. Since it was asked in 2020 and was somewhat general, I hope to ask a similar question in 2022 with a concrete ...
2 votes
1 answer
34 views

Rigetti "Timeout on client tcp://127.0.0.1:5555, method name quil_to_native_quil" error

I am trying to run a relatively large quantum circuit on Rigetti's Aspen-11. I have a reservation for later today, but I am getting an error when running the code. I know that if you use: ...
3 votes
1 answer
264 views

Is there a way to decompose a quantum circuit into a Clifford subcircuit and a non-Clifford subcircuit?

Is there any way of decomposing a arbitrary quantum circuit into two sub circuits, first of them being composed only of Clifford gates and the second one only of non-Clifford gates? Thank you!
7 votes
1 answer
411 views

Is the Solovay-Kitaev theorem relevant for modern hardware?

The Solovay-Kitaev theorem (and more recent improvements) explains how to efficiently compile any 2-qubit unitary into any universal (dense) finite set of gates. My question is if this theorem is ...
0 votes
0 answers
44 views

Compilation with ScaffCC compared to Qiskit's Transpiler

I am new to ScaffCC and wanted to ask if ScaffCC has the ability to compile a program to a limited connectivity machine? Similar to Qiskit's Transpiler ability?
5 votes
3 answers
272 views

Software tools to train quantum circuits with parameters

I want to play with the following problem. Given a unitary $U$ with parameters $\theta$ I want to optimize these parameters to make $U$ match some target unitary $V$, i.e. to find $\operatorname{...
6 votes
1 answer
621 views

Transpilation into custom gate set in qiskit

In qiskit, I can transpile a given circuit into a some predefined gate set as follows (just an example) ...
2 votes
1 answer
265 views

Qiskit logical to physical qubit mapping

I want to run a simulation using qasm with a realistic noise model from a backend, specifying a coupling_map as well as an ...
2 votes
1 answer
96 views

Qiskit: 3 applications of identity with arbitrary SU(2) is universal?

We know that the CNOT gate together with arbitrary SU(2) gates can be used to perfectly implement arbitrary SU(4) gates with 3 applications of the CNOT. I am using the Qiskit library and testing how ...
2 votes
2 answers
293 views

What are the available compilers for Trapped-Ion Quantum Computing Architecture?

I am looking for a compiler to compile a high-level quantum circuit for the Trapped-Ion Quantum Computing architecture, i.e. a compiler that can translate a high-level circuit to native gates of the ...
2 votes
0 answers
77 views

Length / transpilation issues with Grover's algorithm

I would like to discuss the discrepancies between what we see in the simulator versus what we see in the actual running of the code on any IBMQ machine for any qubits at 5 or above. I am doing a final ...
7 votes
1 answer
1k views

Would IBM's "compiler" turn my identity circuit into nothing?

If I were to create a circuit with the following gate: $$\tag{1}R_\phi = \begin{bmatrix} 1 & 0 \\ 0 & e^{i \phi} \end{bmatrix},$$ with $\phi$ specified to be equal to 0, then the gate that I ...