NVIDIA/cuda-quantum

Barrier operator so that cudaq.draw circuit images can be better visualized

mmvandieren opened this issue · 0 comments

Required prerequisites

  • Search the issue tracker to check if your feature has already been mentioned or rejected in other issues.

Describe the feature

Add a command that will allow placing a vertical barrier bar through a circuit diagram to separate out different parts of the circuit visually. For example, when creating a circuit for QPE for unitary U, it would be nice to be able to visually separate out the inverse QFT from the controlled-U gates.