Function get_emulator_noise_model

Function Documentation

qb::NoiseModel *get_emulator_noise_model(const char *name)

Retrieve the emulator noise model object corresponding to to name.

Attention

The emulator library retains the ownership of the underlying object, i.e., never delete the pointer, but rather making a copy if needed.

Parameters:

name – Name of the noise model, e.g., ‘qb-nm1’ or ‘qb-nm2’, etc.

Returns:

Pointer to the corresponding noise model object. NULL if the name is invalid.