Questions about the provided examples #1
Replies: 8 comments
-
Hi, That is correct. Our tool assumes that the circuit to be mapped has already been composed into a sequence of elementary gates (i.e., single- or two-qubit gates) supported by the device it shall be mapped to. As for In case of further questions, do not hesitate to ask! Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi Lukas, Thanks for your quick reply, I will take my time to look into the transpiling process provided by IBM's Qiskit. Sincerely, |
Beta Was this translation helpful? Give feedback.
-
You are welcome! Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi Lukas, Another question about decomposing quantum circuits using basis gates, Take
When I tried to decompose
However, the same circuit provided in examples of this repo decomposed only based on Sincerely, The following provides additional information:
import qiskit as qk
circ = qk.QuantumCircuit(5)
circ.mcx([4, 3, 2], 1)
circ.cx(3, 4)
circ.ccx(1, 3, 2)
circ.x(2)
circ.ccx(4, 2, 0)
circ.ccx(0, 4, 2)
circ.cx(2, 4)
circ = qk.transpile(circ, basis_gates=['x', 'h', 't', 'tdg', 'cx'])
|
Beta Was this translation helpful? Give feedback.
-
Hi Kuan-Yu, Qiskit (or in general IBM devices) support the universal gate set To fix your error just pass Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi Lukas, Following your suggestion, I have done the decomposition of Since I only found the reference that decomposing the MCT gate based on NCV-Library, could you provide some reference to decompose the MCT gate based on Sincerely, |
Beta Was this translation helpful? Give feedback.
-
Hi Kuan-Yu, In fact The standard reference for this kind of topic would probably be https://arxiv.org/abs/quant-ph/9503016. Hope this helps, |
Beta Was this translation helpful? Give feedback.
-
Hi Lukas, I truly appreciate your support, but it seems that the provided reference will take me a long time to understand. I think I will use Many thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi there,
It seems that the examples provided in this repo are decomposed into elementary operations and written in OpenQASM format. Is there any instructions for preparing decomposed quantum circuits or even for the other format, e.g., Real?
Sincerely.
Beta Was this translation helpful? Give feedback.
All reactions