Components, quantum
cphase
Every option, pin and variant of cphase, as release
1.3.1
of the compiler states them.
Pins
cphase with its default options, pins named.Pin functions
| Pin | Side |
|---|---|
in1 | left |
in2 | left |
out1 | right |
out2 | right |
control1 | top |
target1 | bottom |
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
| Option | Accepts | Default |
|---|---|---|
controls | Whole number from 1 to 32 | 1 |
targets | Whole number from 1 to 32 | 1 |
orientation | One of 4 values: right,down,left,up | right |
fit | Only wires | None |
fit and orientation cannot be written together.
Writing one
cphase:U1 at (120, 116) #blue