Quil-T
API Reference
Program.
__add__
Concatenate two programs together, returning a new one.
other (Union[AbstractInstruction, DefGate, Program, List[Any], Tuple[Any, …], str, Generator[Any, Any, Any]]) – Another program or instruction to concatenate to this one.
Union
AbstractInstruction
DefGate
Program
List
Any
Tuple
str
Generator
A newly concatenated program.