1

I am trying to create the following circuit in IBM Quantum Composer but I cannot add the last H gate correctly. It falls in the wrong place. Why? enter image description here

Hamideh
  • 269
  • 1
  • 6

1 Answers1

3

They are equivalent in the sense that they implement the same unitary.

But if you want to keep the alignment you can insert a barrier: enter image description here

Note however that if you plan to run your circuits on actual quantum computer, in general barriers may affect the process of transpilation and execution. See here for details.


Update

In the new version of IBM Quantum Composer (now in beta) you can use freeform alignment to place gates anywhere in the composer:

enter image description here

Egretta.Thula
  • 9,972
  • 1
  • 11
  • 30