qp.backline.Transport¶
- class Transport(name)[source]¶
Bases:
objectA named data transport.
A
Backlineuses a transport to select how messages move between theControllerand itscoprocessors, and exposes it astransport. The compiler combines the transport with each node’s hardware to select a concrete runtime backend.The built-in transports are:
"rdma": messages travel over RDMA, so every coprocessor needs anEndpoint."memcpy": messages are copied in memory, with no network endpoint."none": no messages move. The placement is aControlleralone, and passing any coprocessor raises an error.
Any other transport a backend in Catalyst’s transport backend registry implements is accepted as well, so a backend package adds a transport without a PennyLane change.
Warning
Backlineis experimental and only usable through the Catalyst compiler.- Parameters:
name (str) – The registry name of the transport, e.g.
"rdma".
See also
Example
Transports are normally selected by name, and
Backlineresolves the string:>>> dev = qp.Backline(controller=qp.Controller(), transport="rdma") >>> dev.transport Transport(name='rdma')
Passing a
Transportinstance directly is equivalent.Attributes