Aliases

MimiqCircuitsBase.Aliases.:<|Method

The following operator allow user to define circuit with the following format

''' c = Circuit()

add gate H

c <| H(1)

add multiple H

c <| H(2:3)

add rotation gate

c <- RX(0.5, 1)

add GateCX

c <| CX(1, 4)

or

c <| CX(1:2, 3:4)

add Measure

c <| Measure(1, 1)

Can be used to separate registers

c <| Measure(2:4, 2:4) '''

source