Components, quantum

classical-register

Every option, pin and variant of classical-register, as release 1.3.1 of the compiler states them.

Pins

classical-register specimen1 component and 0 connections.U1inout
classical-register specimen
classical-register with its default options, pins named.

Pin functions

PinSide
inleft
outright

A wire names a pin as ID.pin. Rotating the part moves the pins with it; their names stay the same.

Options

Options go in square brackets after the colour, as name=value. Any option not listed here is an error.

Options

OptionAcceptsDefault
widthWhole number from 2 to 256 8
orientationOne of 4 values: right,down,left,upright

Writing one

classical-register:U1 at (120, 89) #blue