Skip to content

MapQubitsCallable

Bases: Protocol[P]

The protocol a user-defined map qubits function must follow.

Specifically, it must take a qubit_mapping dict[str,str] as the the first argument, and return the mapped KwargDict.