qat.pipelines.pipeline module

class Pipeline(name, model, frontend, middleend, backend, runtime, target_data=TargetData(max_shots=10000, default_shots=1000, QUBIT_DATA=QubitDescription(sample_time=1e-09, samples_per_clock_cycle=1, instruction_memory_size=50000, waveform_memory_size=1500, pulse_duration_min=6.4e-08, pulse_duration_max=0.001, pulse_channel_lo_freq_min=1000000, pulse_channel_lo_freq_max=10000000000, pulse_channel_if_freq_min=1000000, pulse_channel_if_freq_max=10000000000, passive_reset_time=1e-08), RESONATOR_DATA=ResonatorDescription(sample_time=1e-09, samples_per_clock_cycle=1, instruction_memory_size=50000, waveform_memory_size=1500, pulse_duration_min=6.4e-08, pulse_duration_max=0.001, pulse_channel_lo_freq_min=1000000, pulse_channel_lo_freq_max=10000000000, pulse_channel_if_freq_min=1000000, pulse_channel_if_freq_max=10000000000)))

Bases: AbstractPipeline

An immutable pipeline that can be constructed to compile and execute quantum programs.

It is designed to be immutable to allow compilation passes to calculate important quantities at instantiation using the given components, such as calibration information and target data. Thus it assumes information about the device is non-changing and is not suitable for calibrations.

property backend: BaseBackend

Returns the backend of the pipeline.

copy()

Returns a new instance of the pipeline with the same components.

Return type:

Pipeline

copy_with_name(name)

Returns a new instance of the pipeline with a different name.

Return type:

Pipeline

property engine: NativeEngine

Returns the engine of the pipeline.

property frontend: BaseFrontend

Returns the compilation frontend.

property middleend: BaseMiddleend

Returns the middleend of the pipeline.

property model: QuantumHardwareModel

Returns the quantum hardware model used by the pipeline.

property name: str

Returns the name of the pipeline.

property runtime: BaseRuntime

Returns the runtime of the pipeline.

property target_data: TargetData

Returns the target data used by the pipeline.