LogicalBlock

class guppyft.std.LogicalBlock[source]

A logical block of N physical qubits.

discard() None[source]

Discard the logical block and all qubits in data_qs.

put_into_array(arr: array[qubit, BLOCK_SIZE]) None[source]

Put the qubits of the logical block into the array (using .put) and discard the block.