From 7fd6d35f6f5b37cd81a965016b040a840b64aa91 Mon Sep 17 00:00:00 2001 From: Changsoo Kim <57739683+csookim@users.noreply.github.com> Date: Wed, 11 Dec 2024 17:07:56 +0900 Subject: [PATCH] Update doc/source/code-examples/advancedexamples.rst Co-authored-by: Renato Mello --- doc/source/code-examples/advancedexamples.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/code-examples/advancedexamples.rst b/doc/source/code-examples/advancedexamples.rst index 6025d4bede..b718857272 100644 --- a/doc/source/code-examples/advancedexamples.rst +++ b/doc/source/code-examples/advancedexamples.rst @@ -2228,8 +2228,8 @@ on a star-shaped hardware connectivity and a custom set of native gates. return chip # Define a custom set of native gates - glist = [gates.GPI2, gates.RZ, gates.Z, gates.CZ] - natives = NativeGates(0).from_gatelist(glist) + gate_list = [gates.GPI2, gates.RZ, gates.Z, gates.CZ] + natives = NativeGates(0).from_gatelist(gate_list) # Create a quantum circuit with 5 qubits # Define the hardware qubit names to be used in wire_names