From d482983d93f13444325aabefc24c12d4765e781c Mon Sep 17 00:00:00 2001 From: obliviateandsurrender Date: Tue, 5 Nov 2024 12:25:43 -0500 Subject: [PATCH] minor tweak --- demonstrations/tutorial_how_to_import_noise_models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demonstrations/tutorial_how_to_import_noise_models.py b/demonstrations/tutorial_how_to_import_noise_models.py index 7fbc79c0a5..4876a84c0c 100644 --- a/demonstrations/tutorial_how_to_import_noise_models.py +++ b/demonstrations/tutorial_how_to_import_noise_models.py @@ -152,6 +152,8 @@ def GHZcircuit(): qk_noise_model = NoiseModel.from_backend(backend) print("Qiskit Noise Model:\n", qk_noise_model) +###################################################################### + pl_noise_model = qml.from_qiskit_noise(qk_noise_model) print("PennyLane Noise Model:\n", pl_noise_model)