From e109291ade3aec62e22e4dd172a2e63defd8b801 Mon Sep 17 00:00:00 2001 From: d1ssk Date: Mon, 11 Sep 2023 14:19:57 +0900 Subject: [PATCH] fix typo --- graphix_ibmq/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphix_ibmq/runner.py b/graphix_ibmq/runner.py index 0b94dab..9baca06 100644 --- a/graphix_ibmq/runner.py +++ b/graphix_ibmq/runner.py @@ -81,7 +81,7 @@ def to_qiskit(self, save_statevector=False): cr = ClassicalRegister(N_node) circ = QuantumCircuit(qr, cr) - empty_qubit = [i for i in range(n)] # list indexicating the free circuit qubits + empty_qubit = [i for i in range(n)] # list of free qubit indices qubit_dict = {} # dictionary to record the correspondance of pattern nodes and circuit qubits register_dict = {} # dictionary to record the correspondance of pattern nodes and classical registers reg_idx = 0 # index of classical register