Alexander Ivrii
Alexander Ivrii
And one more question: how are these commuting subsets of Pauli operators used later? In particular, do you want them to satisfy other properties, or the only required property is...
There might be some problems with treating single-qubit gates. For example, the following circuit ``` ┌───┐ ┌───┐ ┌───┐ ┌───┐ q_0: ┤ H ├──■──┤ H ├──■──┤ H ├──■──┤ H ├──■── └───┘┌─┴─┐└───┘...
Another random thought is that star-to-line translation may create gate cancellation opportunities, i.e. we may want to rerun passes like inverse cancellation after star-to-line but before layout or routing.
Thanks @mtreinish and @sbrandhsn for getting this completed, this is definitely going to be a super-useful pass. And thanks @jakelishman for doing this review (somehow I forgot that I was...
I agree that this will be very useful. In addition, I would also like the plugins to return an `Operation` when possible (rather than a quantum circuit or a dag...
Hi @mtreinish, what is a good set of examples to experiment with? I was experimenting earlier today with the following circuit (Bernstein-Vazirani): ``` nq = 5000 qr = QuantumRegister(nq, 'q')...
The circuit that I've used does have a 5000-qubit barrier. Without Jake's PR the time to remove it is about 20 seconds (on my laptop), with Jake's PR it's 0.1...
@Tarun-Kumar07, thanks for spotting this bug - now the issue is significantly more problematic than what I originally thought. A quick experiment on my end (varying the number of qubits...
For reference, here is my python script (based on yours): ``` from qiskit.quantum_info import Operator from qiskit.circuit import QuantumCircuit from qiskit.circuit.library import LinearFunction from qiskit.synthesis import synth_cnot_count_full_pmh from qiskit.synthesis.linear import...
Continuing with Jake's example, here are a few thoughts on the following synthesis step: An expression of the form `sub.control(annotated=True) ... .control(annotated=True)` would actually combine all of the control modifiers...