{"payload":{"allShortcutsEnabled":false,"fileTree":{"qiskit/circuit":{"items":[{"name":"classical","path":"qiskit/circuit/classical","contentType":"directory"},{"name":"classicalfunction","path":"qiskit/circuit/classicalfunction","contentType":"directory"},{"name":"controlflow","path":"qiskit/circuit/controlflow","contentType":"directory"},{"name":"library","path":"qiskit/circuit/library","contentType":"directory"},{"name":"random","path":"qiskit/circuit/random","contentType":"directory"},{"name":"tools","path":"qiskit/circuit/tools","contentType":"directory"},{"name":"__init__.py","path":"qiskit/circuit/__init__.py","contentType":"file"},{"name":"_classical_resource_map.py","path":"qiskit/circuit/_classical_resource_map.py","contentType":"file"},{"name":"_standard_gates_commutations.py","path":"qiskit/circuit/_standard_gates_commutations.py","contentType":"file"},{"name":"_utils.py","path":"qiskit/circuit/_utils.py","contentType":"file"},{"name":"add_control.py","path":"qiskit/circuit/add_control.py","contentType":"file"},{"name":"annotated_operation.py","path":"qiskit/circuit/annotated_operation.py","contentType":"file"},{"name":"barrier.py","path":"qiskit/circuit/barrier.py","contentType":"file"},{"name":"bit.py","path":"qiskit/circuit/bit.py","contentType":"file"},{"name":"classicalregister.py","path":"qiskit/circuit/classicalregister.py","contentType":"file"},{"name":"commutation_checker.py","path":"qiskit/circuit/commutation_checker.py","contentType":"file"},{"name":"commutation_library.py","path":"qiskit/circuit/commutation_library.py","contentType":"file"},{"name":"controlledgate.py","path":"qiskit/circuit/controlledgate.py","contentType":"file"},{"name":"delay.py","path":"qiskit/circuit/delay.py","contentType":"file"},{"name":"duration.py","path":"qiskit/circuit/duration.py","contentType":"file"},{"name":"equivalence.py","path":"qiskit/circuit/equivalence.py","contentType":"file"},{"name":"equivalence_library.py","path":"qiskit/circuit/equivalence_library.py","contentType":"file"},{"name":"exceptions.py","path":"qiskit/circuit/exceptions.py","contentType":"file"},{"name":"gate.py","path":"qiskit/circuit/gate.py","contentType":"file"},{"name":"instruction.py","path":"qiskit/circuit/instruction.py","contentType":"file"},{"name":"instructionset.py","path":"qiskit/circuit/instructionset.py","contentType":"file"},{"name":"measure.py","path":"qiskit/circuit/measure.py","contentType":"file"},{"name":"operation.py","path":"qiskit/circuit/operation.py","contentType":"file"},{"name":"parameter.py","path":"qiskit/circuit/parameter.py","contentType":"file"},{"name":"parameterexpression.py","path":"qiskit/circuit/parameterexpression.py","contentType":"file"},{"name":"parametertable.py","path":"qiskit/circuit/parametertable.py","contentType":"file"},{"name":"parametervector.py","path":"qiskit/circuit/parametervector.py","contentType":"file"},{"name":"quantumcircuit.py","path":"qiskit/circuit/quantumcircuit.py","contentType":"file"},{"name":"quantumcircuitdata.py","path":"qiskit/circuit/quantumcircuitdata.py","contentType":"file"},{"name":"quantumregister.py","path":"qiskit/circuit/quantumregister.py","contentType":"file"},{"name":"register.py","path":"qiskit/circuit/register.py","contentType":"file"},{"name":"reset.py","path":"qiskit/circuit/reset.py","contentType":"file"},{"name":"singleton.py","path":"qiskit/circuit/singleton.py","contentType":"file"},{"name":"store.py","path":"qiskit/circuit/store.py","contentType":"file"}],"totalCount":39},"qiskit":{"items":[{"name":"assembler","path":"qiskit/assembler","contentType":"directory"},{"name":"circuit","path":"qiskit/circuit","contentType":"directory"},{"name":"compiler","path":"qiskit/compiler","contentType":"directory"},{"name":"converters","path":"qiskit/converters","contentType":"directory"},{"name":"dagcircuit","path":"qiskit/dagcircuit","contentType":"directory"},{"name":"passmanager","path":"qiskit/passmanager","contentType":"directory"},{"name":"primitives","path":"qiskit/primitives","contentType":"directory"},{"name":"providers","path":"qiskit/providers","contentType":"directory"},{"name":"pulse","path":"qiskit/pulse","contentType":"directory"},{"name":"qasm","path":"qiskit/qasm","contentType":"directory"},{"name":"qasm2","path":"qiskit/qasm2","contentType":"directory"},{"name":"qasm3","path":"qiskit/qasm3","contentType":"directory"},{"name":"qobj","path":"qiskit/qobj","contentType":"directory"},{"name":"qpy","path":"qiskit/qpy","contentType":"directory"},{"name":"quantum_info","path":"qiskit/quantum_info","contentType":"directory"},{"name":"result","path":"qiskit/result","contentType":"directory"},{"name":"scheduler","path":"qiskit/scheduler","contentType":"directory"},{"name":"synthesis","path":"qiskit/synthesis","contentType":"directory"},{"name":"transpiler","path":"qiskit/transpiler","contentType":"directory"},{"name":"utils","path":"qiskit/utils","contentType":"directory"},{"name":"visualization","path":"qiskit/visualization","contentType":"directory"},{"name":"VERSION.txt","path":"qiskit/VERSION.txt","contentType":"file"},{"name":"__init__.py","path":"qiskit/__init__.py","contentType":"file"},{"name":"exceptions.py","path":"qiskit/exceptions.py","contentType":"file"},{"name":"user_config.py","path":"qiskit/user_config.py","contentType":"file"},{"name":"version.py","path":"qiskit/version.py","contentType":"file"}],"totalCount":26},"":{"items":[{"name":".azure","path":".azure","contentType":"directory"},{"name":".binder","path":".binder","contentType":"directory"},{"name":".cargo","path":".cargo","contentType":"directory"},{"name":".github","path":".github","contentType":"directory"},{"name":"crates","path":"crates","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"examples","path":"examples","contentType":"directory"},{"name":"qiskit","path":"qiskit","contentType":"directory"},{"name":"releasenotes","path":"releasenotes","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":"tools","path":"tools","contentType":"directory"},{"name":".editorconfig","path":".editorconfig","contentType":"file"},{"name":".git-blame-ignore-revs","path":".git-blame-ignore-revs","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".local-spellings","path":".local-spellings","contentType":"file"},{"name":".mailmap","path":".mailmap","contentType":"file"},{"name":".mergify.yml","path":".mergify.yml","contentType":"file"},{"name":".stestr.conf","path":".stestr.conf","contentType":"file"},{"name":"CITATION.bib","path":"CITATION.bib","contentType":"file"},{"name":"CODE_OF_CONDUCT.md","path":"CODE_OF_CONDUCT.md","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"Cargo.lock","path":"Cargo.lock","contentType":"file"},{"name":"Cargo.toml","path":"Cargo.toml","contentType":"file"},{"name":"DEPRECATION.md","path":"DEPRECATION.md","contentType":"file"},{"name":"LICENSE.txt","path":"LICENSE.txt","contentType":"file"},{"name":"MAINTAINING.md","path":"MAINTAINING.md","contentType":"file"},{"name":"MANIFEST.in","path":"MANIFEST.in","contentType":"file"},{"name":"Makefile","path":"Makefile","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"SECURITY.md","path":"SECURITY.md","contentType":"file"},{"name":"asv.conf.json","path":"asv.conf.json","contentType":"file"},{"name":"azure-pipelines.yml","path":"azure-pipelines.yml","contentType":"file"},{"name":"constraints.txt","path":"constraints.txt","contentType":"file"},{"name":"pyproject.toml","path":"pyproject.toml","contentType":"file"},{"name":"qiskit_bot.yaml","path":"qiskit_bot.yaml","contentType":"file"},{"name":"requirements-dev.txt","path":"requirements-dev.txt","contentType":"file"},{"name":"requirements-optional.txt","path":"requirements-optional.txt","contentType":"file"},{"name":"requirements.txt","path":"requirements.txt","contentType":"file"},{"name":"rust-toolchain.toml","path":"rust-toolchain.toml","contentType":"file"},{"name":"setup.py","path":"setup.py","contentType":"file"},{"name":"tox.ini","path":"tox.ini","contentType":"file"}],"totalCount":41}},"fileTreeProcessingTime":12.963502,"foldersToFetch":[],"repo":{"id":83821669,"defaultBranch":"main","name":"qiskit","ownerLogin":"Qiskit","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-03-03T17:02:42.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/30696987?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"main","listCacheKey":"v0:1710785011.0","canEdit":false,"refType":"branch","currentOid":"43381ae1b159c01b55159d2dc1e8a65970b72746"},"path":"qiskit/circuit/instructionset.py","currentUser":null,"blob":{"rawLines":["# This code is part of Qiskit.","#","# (C) Copyright IBM 2017.","#","# This code is licensed under the Apache License, Version 2.0. You may","# obtain a copy of this license in the LICENSE.txt file in the root directory","# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.","#","# Any modifications or derivative works of this code must retain this","# copyright notice, and modified files need to carry a notice indicating","# that they have been altered from the originals.","","\"\"\"","Instruction collection.","\"\"\"","","from __future__ import annotations","","from collections.abc import MutableSequence","from typing import Callable","","from qiskit.circuit.exceptions import CircuitError","from .classicalregister import Clbit, ClassicalRegister","from .operation import Operation","from .quantumcircuitdata import CircuitInstruction","","","class InstructionSet:"," \"\"\"Instruction collection, and their contexts.\"\"\"",""," __slots__ = (\"_instructions\", \"_requester\")",""," def __init__( # pylint: disable=bad-docstring-quotes"," self,"," *,"," resource_requester: Callable[..., ClassicalRegister | Clbit] | None = None,"," ):"," \"\"\"New collection of instructions.",""," The context (``qargs`` and ``cargs`` that each instruction is attached to) is also stored"," separately for each instruction.",""," Args:"," resource_requester: A callable that takes in the classical resource used in the"," condition, verifies that it is present in the attached circuit, resolves any indices"," into concrete :obj:`.Clbit` instances, and returns the concrete resource. If this"," is not given, specifying a condition with an index is forbidden, and all concrete"," :obj:`.Clbit` and :obj:`.ClassicalRegister` resources will be assumed to be valid.",""," .. note::",""," The callback ``resource_requester`` is called once for each call to"," :meth:`.c_if`, and assumes that a call implies that the resource will now be"," used. It may throw an error if the resource is not valid for usage.",""," \"\"\""," self._instructions: list["," CircuitInstruction | (MutableSequence[CircuitInstruction], int)"," ] = []"," self._requester = resource_requester",""," def __len__(self):"," \"\"\"Return number of instructions in set\"\"\""," return len(self._instructions)",""," def __getitem__(self, i):"," \"\"\"Return instruction at index\"\"\""," inst = self._instructions[i]"," if isinstance(inst, CircuitInstruction):"," return inst"," data, idx = inst"," return data[idx]",""," def add(self, instruction, qargs=None, cargs=None):"," \"\"\"Add an instruction and its context (where it is attached).\"\"\""," if not isinstance(instruction, CircuitInstruction):"," if not isinstance(instruction, Operation):"," raise CircuitError(\"attempt to add non-Operation to InstructionSet\")"," if qargs is None or cargs is None:"," raise CircuitError(\"missing qargs or cargs in old-style InstructionSet.add\")"," instruction = CircuitInstruction(instruction, tuple(qargs), tuple(cargs))"," self._instructions.append(instruction)",""," def _add_ref(self, data: MutableSequence[CircuitInstruction], pos: int):"," \"\"\"Add a reference to an instruction and its context within a mutable sequence."," Updates to the instruction set will modify the specified sequence in place.\"\"\""," self._instructions.append((data, pos))",""," def inverse(self, annotated: bool = False):"," \"\"\"Invert all instructions.\"\"\""," for i, instruction in enumerate(self._instructions):"," if isinstance(instruction, CircuitInstruction):"," self._instructions[i] = instruction.replace("," operation=instruction.operation.inverse(annotated=annotated)"," )"," else:"," data, idx = instruction"," instruction = data[idx]"," data[idx] = instruction.replace("," operation=instruction.operation.inverse(annotated=annotated)"," )"," return self",""," def c_if(self, classical: Clbit | ClassicalRegister | int, val: int) -> \"InstructionSet\":"," \"\"\"Set a classical equality condition on all the instructions in this set between the"," :obj:`.ClassicalRegister` or :obj:`.Clbit` ``classical`` and value ``val``.",""," .. note::",""," This is a setter method, not an additive one. Calling this multiple times will silently"," override any previously set condition on any of the contained instructions; it does not"," stack.",""," Args:"," classical: the classical resource the equality condition should be on. If this is given"," as an integer, it will be resolved into a :obj:`.Clbit` using the same conventions"," as the circuit these instructions are attached to."," val: the value the classical resource should be equal to.",""," Returns:"," This same instance of :obj:`.InstructionSet`, but now mutated to have the given equality"," condition.",""," Raises:"," CircuitError: if the passed classical resource is invalid, or otherwise not resolvable"," to a concrete resource that these instructions are permitted to access.",""," Example:"," .. plot::"," :include-source:",""," from qiskit import ClassicalRegister, QuantumRegister, QuantumCircuit",""," qr = QuantumRegister(2)"," cr = ClassicalRegister(2)"," qc = QuantumCircuit(qr, cr)"," qc.h(range(2))"," qc.measure(range(2), range(2))",""," # apply x gate if the classical register has the value 2 (10 in binary)"," qc.x(0).c_if(cr, 2)",""," # apply y gate if bit 0 is set to 1"," qc.y(1).c_if(0, 1)",""," qc.draw('mpl')",""," \"\"\""," if self._requester is None and not isinstance(classical, (Clbit, ClassicalRegister)):"," raise CircuitError("," \"Cannot pass an index as a condition variable without specifying a requester\""," \" when creating this InstructionSet.\""," )"," if self._requester is not None:"," classical = self._requester(classical)"," for instruction in self._instructions:"," if isinstance(instruction, CircuitInstruction):"," updated = instruction.operation.c_if(classical, val)"," if updated is not instruction.operation:"," raise CircuitError("," \"SingletonGate instances can only be added to InstructionSet via _add_ref\""," )"," else:"," data, idx = instruction"," instruction = data[idx]"," data[idx] = instruction.replace("," operation=instruction.operation.c_if(classical, val)"," )"," return self",""," # Legacy support for properties. Added in Terra 0.21 to support the internal switch in"," # `QuantumCircuit.data` from the 3-tuple to `CircuitInstruction`.",""," def _instructions_iter(self):"," return (i if isinstance(i, CircuitInstruction) else i[0][i[1]] for i in self._instructions)",""," @property"," def instructions(self):"," \"\"\"Legacy getter for the instruction components of an instruction set. This does not"," support mutation.\"\"\""," return [instruction.operation for instruction in self._instructions_iter()]",""," @property"," def qargs(self):"," \"\"\"Legacy getter for the qargs components of an instruction set. This does not support"," mutation.\"\"\""," return [list(instruction.qubits) for instruction in self._instructions_iter()]",""," @property"," def cargs(self):"," \"\"\"Legacy getter for the cargs components of an instruction set. This does not support"," mutation.\"\"\""," return [list(instruction.clbits) for instruction in self._instructions_iter()]"],"stylingDirectives":[[{"start":0,"end":30,"cssClass":"pl-c"}],[{"start":0,"end":1,"cssClass":"pl-c"}],[{"start":0,"end":25,"cssClass":"pl-c"}],[{"start":0,"end":1,"cssClass":"pl-c"}],[{"start":0,"end":70,"cssClass":"pl-c"}],[{"start":0,"end":77,"cssClass":"pl-c"}],[{"start":0,"end":71,"cssClass":"pl-c"}],[{"start":0,"end":1,"cssClass":"pl-c"}],[{"start":0,"end":69,"cssClass":"pl-c"}],[{"start":0,"end":72,"cssClass":"pl-c"}],[{"start":0,"end":49,"cssClass":"pl-c"}],[],[{"start":0,"end":3,"cssClass":"pl-s"}],[{"start":0,"end":23,"cssClass":"pl-s"}],[{"start":0,"end":3,"cssClass":"pl-s"}],[],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":16,"end":22,"cssClass":"pl-k"},{"start":23,"end":34,"cssClass":"pl-s1"}],[],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":5,"end":16,"cssClass":"pl-s1"},{"start":17,"end":20,"cssClass":"pl-s1"},{"start":21,"end":27,"cssClass":"pl-k"},{"start":28,"end":43,"cssClass":"pl-v"}],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":5,"end":11,"cssClass":"pl-s1"},{"start":12,"end":18,"cssClass":"pl-k"},{"start":19,"end":27,"cssClass":"pl-v"}],[],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":5,"end":11,"cssClass":"pl-s1"},{"start":12,"end":19,"cssClass":"pl-s1"},{"start":20,"end":30,"cssClass":"pl-s1"},{"start":31,"end":37,"cssClass":"pl-k"},{"start":38,"end":50,"cssClass":"pl-v"}],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":6,"end":23,"cssClass":"pl-s1"},{"start":24,"end":30,"cssClass":"pl-k"},{"start":31,"end":36,"cssClass":"pl-v"},{"start":38,"end":55,"cssClass":"pl-v"}],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":6,"end":15,"cssClass":"pl-s1"},{"start":16,"end":22,"cssClass":"pl-k"},{"start":23,"end":32,"cssClass":"pl-v"}],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":6,"end":24,"cssClass":"pl-s1"},{"start":25,"end":31,"cssClass":"pl-k"},{"start":32,"end":50,"cssClass":"pl-v"}],[],[],[{"start":0,"end":5,"cssClass":"pl-k"},{"start":6,"end":20,"cssClass":"pl-v"}],[{"start":4,"end":53,"cssClass":"pl-s"}],[],[{"start":4,"end":13,"cssClass":"pl-s1"},{"start":14,"end":15,"cssClass":"pl-c1"},{"start":17,"end":32,"cssClass":"pl-s"},{"start":34,"end":46,"cssClass":"pl-s"}],[],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":16,"cssClass":"pl-en"},{"start":19,"end":57,"cssClass":"pl-c"}],[{"start":8,"end":12,"cssClass":"pl-s1"}],[{"start":8,"end":9,"cssClass":"pl-c1"}],[{"start":8,"end":26,"cssClass":"pl-s1"},{"start":28,"end":36,"cssClass":"pl-v"},{"start":42,"end":59,"cssClass":"pl-v"},{"start":60,"end":61,"cssClass":"pl-c1"},{"start":62,"end":67,"cssClass":"pl-v"},{"start":69,"end":70,"cssClass":"pl-c1"},{"start":71,"end":75,"cssClass":"pl-c1"},{"start":76,"end":77,"cssClass":"pl-c1"},{"start":78,"end":82,"cssClass":"pl-c1"}],[],[{"start":8,"end":42,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":97,"cssClass":"pl-s"}],[{"start":0,"end":40,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":13,"cssClass":"pl-s"}],[{"start":0,"end":91,"cssClass":"pl-s"}],[{"start":0,"end":100,"cssClass":"pl-s"}],[{"start":0,"end":98,"cssClass":"pl-s"}],[{"start":0,"end":97,"cssClass":"pl-s"}],[{"start":0,"end":98,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":25,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":87,"cssClass":"pl-s"}],[{"start":0,"end":96,"cssClass":"pl-s"}],[{"start":0,"end":88,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":11,"cssClass":"pl-s"}],[{"start":8,"end":12,"cssClass":"pl-s1"},{"start":13,"end":26,"cssClass":"pl-s1"},{"start":28,"end":32,"cssClass":"pl-s1"}],[{"start":12,"end":30,"cssClass":"pl-v"},{"start":31,"end":32,"cssClass":"pl-c1"},{"start":34,"end":49,"cssClass":"pl-v"},{"start":50,"end":68,"cssClass":"pl-v"},{"start":71,"end":74,"cssClass":"pl-s1"}],[{"start":10,"end":11,"cssClass":"pl-c1"}],[{"start":8,"end":12,"cssClass":"pl-s1"},{"start":13,"end":23,"cssClass":"pl-s1"},{"start":24,"end":25,"cssClass":"pl-c1"},{"start":26,"end":44,"cssClass":"pl-s1"}],[],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":15,"cssClass":"pl-en"},{"start":16,"end":20,"cssClass":"pl-s1"}],[{"start":8,"end":50,"cssClass":"pl-s"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":15,"end":18,"cssClass":"pl-en"},{"start":19,"end":23,"cssClass":"pl-s1"},{"start":24,"end":37,"cssClass":"pl-s1"}],[],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":19,"cssClass":"pl-en"},{"start":20,"end":24,"cssClass":"pl-s1"},{"start":26,"end":27,"cssClass":"pl-s1"}],[{"start":8,"end":41,"cssClass":"pl-s"}],[{"start":8,"end":12,"cssClass":"pl-s1"},{"start":13,"end":14,"cssClass":"pl-c1"},{"start":15,"end":19,"cssClass":"pl-s1"},{"start":20,"end":33,"cssClass":"pl-s1"},{"start":34,"end":35,"cssClass":"pl-s1"}],[{"start":8,"end":10,"cssClass":"pl-k"},{"start":11,"end":21,"cssClass":"pl-en"},{"start":22,"end":26,"cssClass":"pl-s1"},{"start":28,"end":46,"cssClass":"pl-v"}],[{"start":12,"end":18,"cssClass":"pl-k"},{"start":19,"end":23,"cssClass":"pl-s1"}],[{"start":8,"end":12,"cssClass":"pl-s1"},{"start":14,"end":17,"cssClass":"pl-s1"},{"start":18,"end":19,"cssClass":"pl-c1"},{"start":20,"end":24,"cssClass":"pl-s1"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":15,"end":19,"cssClass":"pl-s1"},{"start":20,"end":23,"cssClass":"pl-s1"}],[],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":11,"cssClass":"pl-en"},{"start":12,"end":16,"cssClass":"pl-s1"},{"start":18,"end":29,"cssClass":"pl-s1"},{"start":31,"end":36,"cssClass":"pl-s1"},{"start":36,"end":37,"cssClass":"pl-c1"},{"start":37,"end":41,"cssClass":"pl-c1"},{"start":43,"end":48,"cssClass":"pl-s1"},{"start":48,"end":49,"cssClass":"pl-c1"},{"start":49,"end":53,"cssClass":"pl-c1"}],[{"start":8,"end":72,"cssClass":"pl-s"}],[{"start":8,"end":10,"cssClass":"pl-k"},{"start":11,"end":14,"cssClass":"pl-c1"},{"start":15,"end":25,"cssClass":"pl-en"},{"start":26,"end":37,"cssClass":"pl-s1"},{"start":39,"end":57,"cssClass":"pl-v"}],[{"start":12,"end":14,"cssClass":"pl-k"},{"start":15,"end":18,"cssClass":"pl-c1"},{"start":19,"end":29,"cssClass":"pl-en"},{"start":30,"end":41,"cssClass":"pl-s1"},{"start":43,"end":52,"cssClass":"pl-v"}],[{"start":16,"end":21,"cssClass":"pl-k"},{"start":22,"end":34,"cssClass":"pl-v"},{"start":35,"end":83,"cssClass":"pl-s"}],[{"start":12,"end":14,"cssClass":"pl-k"},{"start":15,"end":20,"cssClass":"pl-s1"},{"start":21,"end":23,"cssClass":"pl-c1"},{"start":24,"end":28,"cssClass":"pl-c1"},{"start":29,"end":31,"cssClass":"pl-c1"},{"start":32,"end":37,"cssClass":"pl-s1"},{"start":38,"end":40,"cssClass":"pl-c1"},{"start":41,"end":45,"cssClass":"pl-c1"}],[{"start":16,"end":21,"cssClass":"pl-k"},{"start":22,"end":34,"cssClass":"pl-v"},{"start":35,"end":91,"cssClass":"pl-s"}],[{"start":12,"end":23,"cssClass":"pl-s1"},{"start":24,"end":25,"cssClass":"pl-c1"},{"start":26,"end":44,"cssClass":"pl-v"},{"start":45,"end":56,"cssClass":"pl-s1"},{"start":58,"end":63,"cssClass":"pl-en"},{"start":64,"end":69,"cssClass":"pl-s1"},{"start":72,"end":77,"cssClass":"pl-en"},{"start":78,"end":83,"cssClass":"pl-s1"}],[{"start":8,"end":12,"cssClass":"pl-s1"},{"start":13,"end":26,"cssClass":"pl-s1"},{"start":27,"end":33,"cssClass":"pl-en"},{"start":34,"end":45,"cssClass":"pl-s1"}],[],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":16,"cssClass":"pl-en"},{"start":17,"end":21,"cssClass":"pl-s1"},{"start":23,"end":27,"cssClass":"pl-s1"},{"start":29,"end":44,"cssClass":"pl-v"},{"start":45,"end":63,"cssClass":"pl-v"},{"start":66,"end":69,"cssClass":"pl-s1"},{"start":71,"end":74,"cssClass":"pl-s1"}],[{"start":8,"end":87,"cssClass":"pl-s"}],[{"start":0,"end":86,"cssClass":"pl-s"}],[{"start":8,"end":12,"cssClass":"pl-s1"},{"start":13,"end":26,"cssClass":"pl-s1"},{"start":27,"end":33,"cssClass":"pl-en"},{"start":35,"end":39,"cssClass":"pl-s1"},{"start":41,"end":44,"cssClass":"pl-s1"}],[],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":15,"cssClass":"pl-en"},{"start":16,"end":20,"cssClass":"pl-s1"},{"start":22,"end":31,"cssClass":"pl-s1"},{"start":33,"end":37,"cssClass":"pl-s1"},{"start":38,"end":39,"cssClass":"pl-c1"},{"start":40,"end":45,"cssClass":"pl-c1"}],[{"start":8,"end":38,"cssClass":"pl-s"}],[{"start":8,"end":11,"cssClass":"pl-k"},{"start":12,"end":13,"cssClass":"pl-s1"},{"start":15,"end":26,"cssClass":"pl-s1"},{"start":27,"end":29,"cssClass":"pl-c1"},{"start":30,"end":39,"cssClass":"pl-en"},{"start":40,"end":44,"cssClass":"pl-s1"},{"start":45,"end":58,"cssClass":"pl-s1"}],[{"start":12,"end":14,"cssClass":"pl-k"},{"start":15,"end":25,"cssClass":"pl-en"},{"start":26,"end":37,"cssClass":"pl-s1"},{"start":39,"end":57,"cssClass":"pl-v"}],[{"start":16,"end":20,"cssClass":"pl-s1"},{"start":21,"end":34,"cssClass":"pl-s1"},{"start":35,"end":36,"cssClass":"pl-s1"},{"start":38,"end":39,"cssClass":"pl-c1"},{"start":40,"end":51,"cssClass":"pl-s1"},{"start":52,"end":59,"cssClass":"pl-en"}],[{"start":20,"end":29,"cssClass":"pl-s1"},{"start":29,"end":30,"cssClass":"pl-c1"},{"start":30,"end":41,"cssClass":"pl-s1"},{"start":42,"end":51,"cssClass":"pl-s1"},{"start":52,"end":59,"cssClass":"pl-en"},{"start":60,"end":69,"cssClass":"pl-s1"},{"start":69,"end":70,"cssClass":"pl-c1"},{"start":70,"end":79,"cssClass":"pl-s1"}],[],[{"start":12,"end":16,"cssClass":"pl-k"}],[{"start":16,"end":20,"cssClass":"pl-s1"},{"start":22,"end":25,"cssClass":"pl-s1"},{"start":26,"end":27,"cssClass":"pl-c1"},{"start":28,"end":39,"cssClass":"pl-s1"}],[{"start":16,"end":27,"cssClass":"pl-s1"},{"start":28,"end":29,"cssClass":"pl-c1"},{"start":30,"end":34,"cssClass":"pl-s1"},{"start":35,"end":38,"cssClass":"pl-s1"}],[{"start":16,"end":20,"cssClass":"pl-s1"},{"start":21,"end":24,"cssClass":"pl-s1"},{"start":26,"end":27,"cssClass":"pl-c1"},{"start":28,"end":39,"cssClass":"pl-s1"},{"start":40,"end":47,"cssClass":"pl-en"}],[{"start":20,"end":29,"cssClass":"pl-s1"},{"start":29,"end":30,"cssClass":"pl-c1"},{"start":30,"end":41,"cssClass":"pl-s1"},{"start":42,"end":51,"cssClass":"pl-s1"},{"start":52,"end":59,"cssClass":"pl-en"},{"start":60,"end":69,"cssClass":"pl-s1"},{"start":69,"end":70,"cssClass":"pl-c1"},{"start":70,"end":79,"cssClass":"pl-s1"}],[],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":15,"end":19,"cssClass":"pl-s1"}],[],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":12,"cssClass":"pl-en"},{"start":13,"end":17,"cssClass":"pl-s1"},{"start":19,"end":28,"cssClass":"pl-s1"},{"start":30,"end":35,"cssClass":"pl-v"},{"start":36,"end":37,"cssClass":"pl-c1"},{"start":38,"end":55,"cssClass":"pl-v"},{"start":56,"end":57,"cssClass":"pl-c1"},{"start":58,"end":61,"cssClass":"pl-s1"},{"start":63,"end":66,"cssClass":"pl-s1"},{"start":68,"end":71,"cssClass":"pl-s1"},{"start":73,"end":75,"cssClass":"pl-c1"},{"start":76,"end":92,"cssClass":"pl-s"}],[{"start":8,"end":93,"cssClass":"pl-s"}],[{"start":0,"end":83,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":17,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":100,"cssClass":"pl-s"}],[{"start":0,"end":99,"cssClass":"pl-s"}],[{"start":0,"end":18,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":13,"cssClass":"pl-s"}],[{"start":0,"end":100,"cssClass":"pl-s"}],[{"start":0,"end":98,"cssClass":"pl-s"}],[{"start":0,"end":66,"cssClass":"pl-s"}],[{"start":0,"end":69,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":16,"cssClass":"pl-s"}],[{"start":0,"end":100,"cssClass":"pl-s"}],[{"start":0,"end":22,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":15,"cssClass":"pl-s"}],[{"start":0,"end":98,"cssClass":"pl-s"}],[{"start":0,"end":87,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":16,"cssClass":"pl-s"}],[{"start":0,"end":21,"cssClass":"pl-s"}],[{"start":0,"end":31,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":84,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":38,"cssClass":"pl-s"}],[{"start":0,"end":40,"cssClass":"pl-s"}],[{"start":0,"end":42,"cssClass":"pl-s"}],[{"start":0,"end":29,"cssClass":"pl-s"}],[{"start":0,"end":45,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":86,"cssClass":"pl-s"}],[{"start":0,"end":34,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":50,"cssClass":"pl-s"}],[{"start":0,"end":33,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":29,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":11,"cssClass":"pl-s"}],[{"start":8,"end":10,"cssClass":"pl-k"},{"start":11,"end":15,"cssClass":"pl-s1"},{"start":16,"end":26,"cssClass":"pl-s1"},{"start":27,"end":29,"cssClass":"pl-c1"},{"start":30,"end":34,"cssClass":"pl-c1"},{"start":35,"end":38,"cssClass":"pl-c1"},{"start":39,"end":42,"cssClass":"pl-c1"},{"start":43,"end":53,"cssClass":"pl-en"},{"start":54,"end":63,"cssClass":"pl-s1"},{"start":66,"end":71,"cssClass":"pl-v"},{"start":73,"end":90,"cssClass":"pl-v"}],[{"start":12,"end":17,"cssClass":"pl-k"},{"start":18,"end":30,"cssClass":"pl-v"}],[{"start":16,"end":93,"cssClass":"pl-s"}],[{"start":16,"end":53,"cssClass":"pl-s"}],[],[{"start":8,"end":10,"cssClass":"pl-k"},{"start":11,"end":15,"cssClass":"pl-s1"},{"start":16,"end":26,"cssClass":"pl-s1"},{"start":27,"end":29,"cssClass":"pl-c1"},{"start":30,"end":33,"cssClass":"pl-c1"},{"start":34,"end":38,"cssClass":"pl-c1"}],[{"start":12,"end":21,"cssClass":"pl-s1"},{"start":22,"end":23,"cssClass":"pl-c1"},{"start":24,"end":28,"cssClass":"pl-s1"},{"start":29,"end":39,"cssClass":"pl-en"},{"start":40,"end":49,"cssClass":"pl-s1"}],[{"start":8,"end":11,"cssClass":"pl-k"},{"start":12,"end":23,"cssClass":"pl-s1"},{"start":24,"end":26,"cssClass":"pl-c1"},{"start":27,"end":31,"cssClass":"pl-s1"},{"start":32,"end":45,"cssClass":"pl-s1"}],[{"start":12,"end":14,"cssClass":"pl-k"},{"start":15,"end":25,"cssClass":"pl-en"},{"start":26,"end":37,"cssClass":"pl-s1"},{"start":39,"end":57,"cssClass":"pl-v"}],[{"start":16,"end":23,"cssClass":"pl-s1"},{"start":24,"end":25,"cssClass":"pl-c1"},{"start":26,"end":37,"cssClass":"pl-s1"},{"start":38,"end":47,"cssClass":"pl-s1"},{"start":48,"end":52,"cssClass":"pl-en"},{"start":53,"end":62,"cssClass":"pl-s1"},{"start":64,"end":67,"cssClass":"pl-s1"}],[{"start":16,"end":18,"cssClass":"pl-k"},{"start":19,"end":26,"cssClass":"pl-s1"},{"start":27,"end":29,"cssClass":"pl-c1"},{"start":30,"end":33,"cssClass":"pl-c1"},{"start":34,"end":45,"cssClass":"pl-s1"},{"start":46,"end":55,"cssClass":"pl-s1"}],[{"start":20,"end":25,"cssClass":"pl-k"},{"start":26,"end":38,"cssClass":"pl-v"}],[{"start":24,"end":98,"cssClass":"pl-s"}],[],[{"start":12,"end":16,"cssClass":"pl-k"}],[{"start":16,"end":20,"cssClass":"pl-s1"},{"start":22,"end":25,"cssClass":"pl-s1"},{"start":26,"end":27,"cssClass":"pl-c1"},{"start":28,"end":39,"cssClass":"pl-s1"}],[{"start":16,"end":27,"cssClass":"pl-s1"},{"start":28,"end":29,"cssClass":"pl-c1"},{"start":30,"end":34,"cssClass":"pl-s1"},{"start":35,"end":38,"cssClass":"pl-s1"}],[{"start":16,"end":20,"cssClass":"pl-s1"},{"start":21,"end":24,"cssClass":"pl-s1"},{"start":26,"end":27,"cssClass":"pl-c1"},{"start":28,"end":39,"cssClass":"pl-s1"},{"start":40,"end":47,"cssClass":"pl-en"}],[{"start":20,"end":29,"cssClass":"pl-s1"},{"start":29,"end":30,"cssClass":"pl-c1"},{"start":30,"end":41,"cssClass":"pl-s1"},{"start":42,"end":51,"cssClass":"pl-s1"},{"start":52,"end":56,"cssClass":"pl-en"},{"start":57,"end":66,"cssClass":"pl-s1"},{"start":68,"end":71,"cssClass":"pl-s1"}],[],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":15,"end":19,"cssClass":"pl-s1"}],[],[{"start":4,"end":91,"cssClass":"pl-c"}],[{"start":4,"end":69,"cssClass":"pl-c"}],[],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":26,"cssClass":"pl-en"},{"start":27,"end":31,"cssClass":"pl-s1"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":16,"end":17,"cssClass":"pl-s1"},{"start":18,"end":20,"cssClass":"pl-k"},{"start":21,"end":31,"cssClass":"pl-en"},{"start":32,"end":33,"cssClass":"pl-s1"},{"start":35,"end":53,"cssClass":"pl-v"},{"start":55,"end":59,"cssClass":"pl-k"},{"start":60,"end":61,"cssClass":"pl-s1"},{"start":62,"end":63,"cssClass":"pl-c1"},{"start":65,"end":66,"cssClass":"pl-s1"},{"start":67,"end":68,"cssClass":"pl-c1"},{"start":71,"end":74,"cssClass":"pl-k"},{"start":75,"end":76,"cssClass":"pl-s1"},{"start":77,"end":79,"cssClass":"pl-c1"},{"start":80,"end":84,"cssClass":"pl-s1"},{"start":85,"end":98,"cssClass":"pl-s1"}],[],[{"start":4,"end":13,"cssClass":"pl-en"},{"start":5,"end":13,"cssClass":"pl-s1"}],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":20,"cssClass":"pl-en"},{"start":21,"end":25,"cssClass":"pl-s1"}],[{"start":8,"end":93,"cssClass":"pl-s"}],[{"start":0,"end":28,"cssClass":"pl-s"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":16,"end":27,"cssClass":"pl-s1"},{"start":28,"end":37,"cssClass":"pl-s1"},{"start":38,"end":41,"cssClass":"pl-k"},{"start":42,"end":53,"cssClass":"pl-s1"},{"start":54,"end":56,"cssClass":"pl-c1"},{"start":57,"end":61,"cssClass":"pl-s1"},{"start":62,"end":80,"cssClass":"pl-en"}],[],[{"start":4,"end":13,"cssClass":"pl-en"},{"start":5,"end":13,"cssClass":"pl-s1"}],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":13,"cssClass":"pl-en"},{"start":14,"end":18,"cssClass":"pl-s1"}],[{"start":8,"end":95,"cssClass":"pl-s"}],[{"start":0,"end":20,"cssClass":"pl-s"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":16,"end":20,"cssClass":"pl-en"},{"start":21,"end":32,"cssClass":"pl-s1"},{"start":33,"end":39,"cssClass":"pl-s1"},{"start":41,"end":44,"cssClass":"pl-k"},{"start":45,"end":56,"cssClass":"pl-s1"},{"start":57,"end":59,"cssClass":"pl-c1"},{"start":60,"end":64,"cssClass":"pl-s1"},{"start":65,"end":83,"cssClass":"pl-en"}],[],[{"start":4,"end":13,"cssClass":"pl-en"},{"start":5,"end":13,"cssClass":"pl-s1"}],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":13,"cssClass":"pl-en"},{"start":14,"end":18,"cssClass":"pl-s1"}],[{"start":8,"end":95,"cssClass":"pl-s"}],[{"start":0,"end":20,"cssClass":"pl-s"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":16,"end":20,"cssClass":"pl-en"},{"start":21,"end":32,"cssClass":"pl-s1"},{"start":33,"end":39,"cssClass":"pl-s1"},{"start":41,"end":44,"cssClass":"pl-k"},{"start":45,"end":56,"cssClass":"pl-s1"},{"start":57,"end":59,"cssClass":"pl-c1"},{"start":60,"end":64,"cssClass":"pl-s1"},{"start":65,"end":83,"cssClass":"pl-en"}]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/Qiskit/qiskit/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"instructionset.py","displayUrl":"https://github.com/Qiskit/qiskit/blob/main/qiskit/circuit/instructionset.py?raw=true","headerInfo":{"blobSize":"7.86 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"dcf1746","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FQiskit%2Fqiskit%2Fblob%2Fmain%2Fqiskit%2Fcircuit%2Finstructionset.py","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"193","truncatedSloc":"157"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Python","languageID":303,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/Qiskit/qiskit/blob/main/qiskit/circuit/instructionset.py","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/Qiskit/qiskit/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/Qiskit/qiskit/raw/main/qiskit/circuit/instructionset.py","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":4,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"InstructionSet","kind":"class","ident_start":819,"ident_end":833,"extent_start":813,"extent_end":8050,"fully_qualified_name":"InstructionSet","ident_utf16":{"start":{"line_number":27,"utf16_col":6},"end":{"line_number":27,"utf16_col":20}},"extent_utf16":{"start":{"line_number":27,"utf16_col":0},"end":{"line_number":192,"utf16_col":86}}},{"name":"__slots__","kind":"constant","ident_start":894,"ident_end":903,"extent_start":894,"extent_end":937,"fully_qualified_name":"InstructionSet.__slots__","ident_utf16":{"start":{"line_number":30,"utf16_col":4},"end":{"line_number":30,"utf16_col":13}},"extent_utf16":{"start":{"line_number":30,"utf16_col":4},"end":{"line_number":30,"utf16_col":47}}},{"name":"__init__","kind":"function","ident_start":947,"ident_end":955,"extent_start":943,"extent_end":2284,"fully_qualified_name":"InstructionSet.__init__","ident_utf16":{"start":{"line_number":32,"utf16_col":8},"end":{"line_number":32,"utf16_col":16}},"extent_utf16":{"start":{"line_number":32,"utf16_col":4},"end":{"line_number":59,"utf16_col":44}}},{"name":"__len__","kind":"function","ident_start":2294,"ident_end":2301,"extent_start":2290,"extent_end":2398,"fully_qualified_name":"InstructionSet.__len__","ident_utf16":{"start":{"line_number":61,"utf16_col":8},"end":{"line_number":61,"utf16_col":15}},"extent_utf16":{"start":{"line_number":61,"utf16_col":4},"end":{"line_number":63,"utf16_col":38}}},{"name":"__getitem__","kind":"function","ident_start":2408,"ident_end":2419,"extent_start":2404,"extent_end":2631,"fully_qualified_name":"InstructionSet.__getitem__","ident_utf16":{"start":{"line_number":65,"utf16_col":8},"end":{"line_number":65,"utf16_col":19}},"extent_utf16":{"start":{"line_number":65,"utf16_col":4},"end":{"line_number":71,"utf16_col":24}}},{"name":"add","kind":"function","ident_start":2641,"ident_end":2644,"extent_start":2637,"extent_end":3234,"fully_qualified_name":"InstructionSet.add","ident_utf16":{"start":{"line_number":73,"utf16_col":8},"end":{"line_number":73,"utf16_col":11}},"extent_utf16":{"start":{"line_number":73,"utf16_col":4},"end":{"line_number":81,"utf16_col":46}}},{"name":"_add_ref","kind":"function","ident_start":3244,"ident_end":3252,"extent_start":3240,"extent_end":3534,"fully_qualified_name":"InstructionSet._add_ref","ident_utf16":{"start":{"line_number":83,"utf16_col":8},"end":{"line_number":83,"utf16_col":16}},"extent_utf16":{"start":{"line_number":83,"utf16_col":4},"end":{"line_number":86,"utf16_col":46}}},{"name":"inverse","kind":"function","ident_start":3544,"ident_end":3551,"extent_start":3540,"extent_end":4169,"fully_qualified_name":"InstructionSet.inverse","ident_utf16":{"start":{"line_number":88,"utf16_col":8},"end":{"line_number":88,"utf16_col":15}},"extent_utf16":{"start":{"line_number":88,"utf16_col":4},"end":{"line_number":101,"utf16_col":19}}},{"name":"c_if","kind":"function","ident_start":4179,"ident_end":4183,"extent_start":4175,"extent_end":7022,"fully_qualified_name":"InstructionSet.c_if","ident_utf16":{"start":{"line_number":103,"utf16_col":8},"end":{"line_number":103,"utf16_col":12}},"extent_utf16":{"start":{"line_number":103,"utf16_col":4},"end":{"line_number":168,"utf16_col":19}}},{"name":"_instructions_iter","kind":"function","ident_start":7195,"ident_end":7213,"extent_start":7191,"extent_end":7320,"fully_qualified_name":"InstructionSet._instructions_iter","ident_utf16":{"start":{"line_number":173,"utf16_col":8},"end":{"line_number":173,"utf16_col":26}},"extent_utf16":{"start":{"line_number":173,"utf16_col":4},"end":{"line_number":174,"utf16_col":99}}},{"name":"instructions","kind":"function","ident_start":7344,"ident_end":7356,"extent_start":7340,"extent_end":7570,"fully_qualified_name":"InstructionSet.instructions","ident_utf16":{"start":{"line_number":177,"utf16_col":8},"end":{"line_number":177,"utf16_col":20}},"extent_utf16":{"start":{"line_number":177,"utf16_col":4},"end":{"line_number":180,"utf16_col":83}}},{"name":"qargs","kind":"function","ident_start":7594,"ident_end":7599,"extent_start":7590,"extent_end":7810,"fully_qualified_name":"InstructionSet.qargs","ident_utf16":{"start":{"line_number":183,"utf16_col":8},"end":{"line_number":183,"utf16_col":13}},"extent_utf16":{"start":{"line_number":183,"utf16_col":4},"end":{"line_number":186,"utf16_col":86}}},{"name":"cargs","kind":"function","ident_start":7834,"ident_end":7839,"extent_start":7830,"extent_end":8050,"fully_qualified_name":"InstructionSet.cargs","ident_utf16":{"start":{"line_number":189,"utf16_col":8},"end":{"line_number":189,"utf16_col":13}},"extent_utf16":{"start":{"line_number":189,"utf16_col":4},"end":{"line_number":192,"utf16_col":86}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/Qiskit/qiskit/branches":{"post":"c38OnCqYGlggwQuAHPotEF36PLwxSDHXqX3nmQpbRFoDKXyIeip63pTxMCV02vFJZxwd_z8e18TU3mod_ukHrQ"},"/repos/preferences":{"post":"yZ6z2L7phC4QKBYcCOWSKsFQofYG3IiQMaMADjiP9qSlto-zcqAMZ7-pOu4r5lYOmn0gYm7Ob-533Ylct62rlA"}}},"title":"qiskit/qiskit/circuit/instructionset.py at main ยท Qiskit/qiskit"}