pdft.bases.program_of

Contents

pdft.bases.program_of#

pdft.bases.program_of(basis)[source]#

The gate program of a basis; for a blocked basis, the one of the circuit it tiles.

The stored tensor list of either is in that program’s order, so its tensor_indices index basis.tensors directly.

Return type:

Program