Analog circuit
AnalogCircuit
AnalogCircuit is a dummy type that bundle register and sequence together.
register
property
register
Get the register of the program.
Returns:
Type | Description |
---|---|
register (Union["AtomArrangement", "ParallelRegister"]) |
Note
If the program is built with
[parallelize()
][bloqade.builder.emit.Emit.parallelize],
The the register will be a
[ParallelRegister
][bloqade.ir.location.base.ParallelRegister].
Otherwise it will be a
[AtomArrangement
][bloqade.ir.location.base.AtomArrangement].
show
show(**assignments)
Interactive visualization of the program
Parameters:
Name | Type | Description | Default |
---|---|---|---|
**assignments
|
assigning the instance value (literal) to the existing variables in the program |
{}
|
Source code in .venv/lib/python3.12/site-packages/bloqade/analog/ir/analog_circuit.py
122 123 124 125 126 127 128 129 130 |
|