compile

PulseCompiler.compile(circuit)

Compile a native circuit into a pulse sequence on the bound backend.

Pulses are emitted on the qubits the circuit’s gates name, which are physical qubits. A circuit a layout search relabeled carries that relabeling on its .layout rather than in its gates, so preparing a state before the returned program and reading one after it are the caller’s to express in the same relabeling.

Parameters:

circuit (Any) – Native Qiskit circuit expressed in the gate set.

Return type:

Any

Returns:

The backend’s pulse representation of the compiled circuit.

Warns:

LayoutWarning – If circuit’s layout is not the identity.