pyjuice.unblockify
- pyjuice.unblockify(root_ns: CircuitNodes, block_size: int = 1, recursive: bool = True, keys_to_copy: Sequence[str] | None = None)
Decrease the block size of a PC.
- Parameters:
root_ns (CircuitNodes) – the input PC
block_size (int) – the target block size
recursive (bool) – whether to do it recursively or just for the current node
keys_to_copy (Optional[Sequence[str]]) – an optional dictionary of properties to copy
- Returns:
An equivalent CircuitNodes