![]() |
THIS FUNCTION IS DEPRECATED.
cirq_rigetti.quil_input.kraus_noise_model_to_cirq(
kraus_noise_model: Dict[Tuple[QubitDesignator, ...], List[NDArray[np.complex128]]],
defined_gates: Optional[Dict[QubitDesignator, Gate]] = None
) -> InsertionNoiseModel
IT WILL BE REMOVED IN cirq v1.6
.
Cirq-Rigetti is deprecated. For more details or to provide feedback see https://github.com/quantumlib/Cirq/issues/7058
Construct a Cirq noise model from the provided Kraus operators.
Args:
kraus_noise_model: A dictionary where the keys are tuples of Quil gate names and qubit
indices and the values are the Kraus representation of the noise channel.
defined_gates: A dictionary mapping Quil gates to Cirq gates.
Returns:
A Cirq InsertionNoiseModel which applies the Kraus operators to the specified gates.
Raises:
Exception: If a QubitDesignator identifier is not an integer.