{"payload":{"allShortcutsEnabled":false,"fileTree":{"qiskit/pulse/instructions":{"items":[{"name":"__init__.py","path":"qiskit/pulse/instructions/__init__.py","contentType":"file"},{"name":"acquire.py","path":"qiskit/pulse/instructions/acquire.py","contentType":"file"},{"name":"delay.py","path":"qiskit/pulse/instructions/delay.py","contentType":"file"},{"name":"directives.py","path":"qiskit/pulse/instructions/directives.py","contentType":"file"},{"name":"frequency.py","path":"qiskit/pulse/instructions/frequency.py","contentType":"file"},{"name":"instruction.py","path":"qiskit/pulse/instructions/instruction.py","contentType":"file"},{"name":"phase.py","path":"qiskit/pulse/instructions/phase.py","contentType":"file"},{"name":"play.py","path":"qiskit/pulse/instructions/play.py","contentType":"file"},{"name":"reference.py","path":"qiskit/pulse/instructions/reference.py","contentType":"file"},{"name":"snapshot.py","path":"qiskit/pulse/instructions/snapshot.py","contentType":"file"}],"totalCount":10},"qiskit/pulse":{"items":[{"name":"instructions","path":"qiskit/pulse/instructions","contentType":"directory"},{"name":"library","path":"qiskit/pulse/library","contentType":"directory"},{"name":"transforms","path":"qiskit/pulse/transforms","contentType":"directory"},{"name":"__init__.py","path":"qiskit/pulse/__init__.py","contentType":"file"},{"name":"builder.py","path":"qiskit/pulse/builder.py","contentType":"file"},{"name":"calibration_entries.py","path":"qiskit/pulse/calibration_entries.py","contentType":"file"},{"name":"channels.py","path":"qiskit/pulse/channels.py","contentType":"file"},{"name":"configuration.py","path":"qiskit/pulse/configuration.py","contentType":"file"},{"name":"exceptions.py","path":"qiskit/pulse/exceptions.py","contentType":"file"},{"name":"filters.py","path":"qiskit/pulse/filters.py","contentType":"file"},{"name":"instruction_schedule_map.py","path":"qiskit/pulse/instruction_schedule_map.py","contentType":"file"},{"name":"macros.py","path":"qiskit/pulse/macros.py","contentType":"file"},{"name":"parameter_manager.py","path":"qiskit/pulse/parameter_manager.py","contentType":"file"},{"name":"parser.py","path":"qiskit/pulse/parser.py","contentType":"file"},{"name":"reference_manager.py","path":"qiskit/pulse/reference_manager.py","contentType":"file"},{"name":"schedule.py","path":"qiskit/pulse/schedule.py","contentType":"file"},{"name":"utils.py","path":"qiskit/pulse/utils.py","contentType":"file"}],"totalCount":17},"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":29.586218000000002,"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/pulse/instructions/snapshot.py","currentUser":null,"blob":{"rawLines":["# This code is part of Qiskit.","#","# (C) Copyright IBM 2019.","#","# 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.","","\"\"\"A simulator instruction to capture output within a simulation. The types of snapshot","instructions available are determined by the simulator being used.","\"\"\"","from typing import Optional, Tuple","","from qiskit.pulse.channels import SnapshotChannel","from qiskit.pulse.exceptions import PulseError","from qiskit.pulse.instructions.instruction import Instruction","","","class Snapshot(Instruction):"," \"\"\"An instruction targeted for simulators, to capture a moment in the simulation.\"\"\"",""," def __init__(self, label: str, snapshot_type: str = \"statevector\", name: Optional[str] = None):"," \"\"\"Create new snapshot.",""," Args:"," label: Snapshot label which is used to identify the snapshot in the output."," snapshot_type: Type of snapshot, e.g., “state” (take a snapshot of the quantum state)."," The types of snapshots offered are defined by the simulator used."," name: Snapshot name which defaults to ``label``. This parameter is only for display"," purposes and is not taken into account during comparison."," \"\"\""," self._channel = SnapshotChannel()",""," if name is None:"," name = label"," super().__init__(operands=(label, snapshot_type), name=name)",""," def _validate(self):"," \"\"\"Called after initialization to validate instruction data.",""," Raises:"," PulseError: If snapshot label is invalid."," \"\"\""," if not isinstance(self.label, str):"," raise PulseError(\"Snapshot label must be a string.\")",""," @property"," def label(self) -> str:"," \"\"\"Label of snapshot.\"\"\""," return self.operands[0]",""," @property"," def type(self) -> str:"," \"\"\"Type of snapshot.\"\"\""," return self.operands[1]",""," @property"," def channel(self) -> SnapshotChannel:"," \"\"\"Return the :py:class:`~qiskit.pulse.channels.Channel` that this instruction is"," scheduled on; trivially, a ``SnapshotChannel``."," \"\"\""," return self._channel",""," @property"," def channels(self) -> Tuple[SnapshotChannel]:"," \"\"\"Returns the channels that this schedule uses.\"\"\""," return (self.channel,)",""," @property"," def duration(self) -> int:"," \"\"\"Duration of this instruction.\"\"\""," return 0",""," def is_parameterized(self) -> bool:"," \"\"\"Return True iff the instruction is parameterized.\"\"\""," return False"],"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":87,"cssClass":"pl-s"}],[{"start":0,"end":66,"cssClass":"pl-s"}],[{"start":0,"end":3,"cssClass":"pl-s"}],[{"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":29,"end":34,"cssClass":"pl-v"}],[],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":5,"end":11,"cssClass":"pl-s1"},{"start":12,"end":17,"cssClass":"pl-s1"},{"start":18,"end":26,"cssClass":"pl-s1"},{"start":27,"end":33,"cssClass":"pl-k"},{"start":34,"end":49,"cssClass":"pl-v"}],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":5,"end":11,"cssClass":"pl-s1"},{"start":12,"end":17,"cssClass":"pl-s1"},{"start":18,"end":28,"cssClass":"pl-s1"},{"start":29,"end":35,"cssClass":"pl-k"},{"start":36,"end":46,"cssClass":"pl-v"}],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":5,"end":11,"cssClass":"pl-s1"},{"start":12,"end":17,"cssClass":"pl-s1"},{"start":18,"end":30,"cssClass":"pl-s1"},{"start":31,"end":42,"cssClass":"pl-s1"},{"start":43,"end":49,"cssClass":"pl-k"},{"start":50,"end":61,"cssClass":"pl-v"}],[],[],[{"start":0,"end":5,"cssClass":"pl-k"},{"start":6,"end":14,"cssClass":"pl-v"},{"start":15,"end":26,"cssClass":"pl-v"}],[{"start":4,"end":88,"cssClass":"pl-s"}],[],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":16,"cssClass":"pl-en"},{"start":17,"end":21,"cssClass":"pl-s1"},{"start":23,"end":28,"cssClass":"pl-s1"},{"start":30,"end":33,"cssClass":"pl-s1"},{"start":35,"end":48,"cssClass":"pl-s1"},{"start":50,"end":53,"cssClass":"pl-s1"},{"start":54,"end":55,"cssClass":"pl-c1"},{"start":56,"end":69,"cssClass":"pl-s"},{"start":71,"end":75,"cssClass":"pl-s1"},{"start":77,"end":85,"cssClass":"pl-v"},{"start":86,"end":89,"cssClass":"pl-s1"},{"start":91,"end":92,"cssClass":"pl-c1"},{"start":93,"end":97,"cssClass":"pl-c1"}],[{"start":8,"end":31,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":13,"cssClass":"pl-s"}],[{"start":0,"end":87,"cssClass":"pl-s"}],[{"start":0,"end":98,"cssClass":"pl-s"}],[{"start":0,"end":92,"cssClass":"pl-s"}],[{"start":0,"end":95,"cssClass":"pl-s"}],[{"start":0,"end":75,"cssClass":"pl-s"}],[{"start":0,"end":11,"cssClass":"pl-s"}],[{"start":8,"end":12,"cssClass":"pl-s1"},{"start":13,"end":21,"cssClass":"pl-s1"},{"start":22,"end":23,"cssClass":"pl-c1"},{"start":24,"end":39,"cssClass":"pl-v"}],[],[{"start":8,"end":10,"cssClass":"pl-k"},{"start":11,"end":15,"cssClass":"pl-s1"},{"start":16,"end":18,"cssClass":"pl-c1"},{"start":19,"end":23,"cssClass":"pl-c1"}],[{"start":12,"end":16,"cssClass":"pl-s1"},{"start":17,"end":18,"cssClass":"pl-c1"},{"start":19,"end":24,"cssClass":"pl-s1"}],[{"start":8,"end":13,"cssClass":"pl-en"},{"start":16,"end":24,"cssClass":"pl-en"},{"start":25,"end":33,"cssClass":"pl-s1"},{"start":33,"end":34,"cssClass":"pl-c1"},{"start":35,"end":40,"cssClass":"pl-s1"},{"start":42,"end":55,"cssClass":"pl-s1"},{"start":58,"end":62,"cssClass":"pl-s1"},{"start":62,"end":63,"cssClass":"pl-c1"},{"start":63,"end":67,"cssClass":"pl-s1"}],[],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":17,"cssClass":"pl-en"},{"start":18,"end":22,"cssClass":"pl-s1"}],[{"start":8,"end":68,"cssClass":"pl-s"}],[{"start":0,"end":0,"cssClass":"pl-s"}],[{"start":0,"end":15,"cssClass":"pl-s"}],[{"start":0,"end":53,"cssClass":"pl-s"}],[{"start":0,"end":11,"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":30,"cssClass":"pl-s1"},{"start":31,"end":36,"cssClass":"pl-s1"},{"start":38,"end":41,"cssClass":"pl-s1"}],[{"start":12,"end":17,"cssClass":"pl-k"},{"start":18,"end":28,"cssClass":"pl-v"},{"start":29,"end":63,"cssClass":"pl-s"}],[],[{"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":20,"end":22,"cssClass":"pl-c1"},{"start":23,"end":26,"cssClass":"pl-s1"}],[{"start":8,"end":32,"cssClass":"pl-s"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":15,"end":19,"cssClass":"pl-s1"},{"start":20,"end":28,"cssClass":"pl-s1"},{"start":29,"end":30,"cssClass":"pl-c1"}],[],[{"start":4,"end":13,"cssClass":"pl-en"},{"start":5,"end":13,"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":21,"cssClass":"pl-c1"},{"start":22,"end":25,"cssClass":"pl-s1"}],[{"start":8,"end":31,"cssClass":"pl-s"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":15,"end":19,"cssClass":"pl-s1"},{"start":20,"end":28,"cssClass":"pl-s1"},{"start":29,"end":30,"cssClass":"pl-c1"}],[],[{"start":4,"end":13,"cssClass":"pl-en"},{"start":5,"end":13,"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":24,"cssClass":"pl-c1"},{"start":25,"end":40,"cssClass":"pl-v"}],[{"start":8,"end":89,"cssClass":"pl-s"}],[{"start":0,"end":55,"cssClass":"pl-s"}],[{"start":0,"end":11,"cssClass":"pl-s"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":15,"end":19,"cssClass":"pl-s1"},{"start":20,"end":28,"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":16,"cssClass":"pl-en"},{"start":17,"end":21,"cssClass":"pl-s1"},{"start":23,"end":25,"cssClass":"pl-c1"},{"start":26,"end":31,"cssClass":"pl-v"},{"start":32,"end":47,"cssClass":"pl-v"}],[{"start":8,"end":59,"cssClass":"pl-s"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":16,"end":20,"cssClass":"pl-s1"},{"start":21,"end":28,"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":16,"cssClass":"pl-en"},{"start":17,"end":21,"cssClass":"pl-s1"},{"start":23,"end":25,"cssClass":"pl-c1"},{"start":26,"end":29,"cssClass":"pl-s1"}],[{"start":8,"end":43,"cssClass":"pl-s"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":15,"end":16,"cssClass":"pl-c1"}],[],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":8,"end":24,"cssClass":"pl-en"},{"start":25,"end":29,"cssClass":"pl-s1"},{"start":31,"end":33,"cssClass":"pl-c1"},{"start":34,"end":38,"cssClass":"pl-s1"}],[{"start":8,"end":63,"cssClass":"pl-s"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":15,"end":20,"cssClass":"pl-c1"}]],"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":"snapshot.py","displayUrl":"https://github.com/Qiskit/qiskit/blob/main/qiskit/pulse/instructions/snapshot.py?raw=true","headerInfo":{"blobSize":"2.8 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":"b78858b","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FQiskit%2Fqiskit%2Fblob%2Fmain%2Fqiskit%2Fpulse%2Finstructions%2Fsnapshot.py","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"80","truncatedSloc":"65"},"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/pulse/instructions/snapshot.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/pulse/instructions/snapshot.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":"Snapshot","kind":"class","ident_start":840,"ident_end":848,"extent_start":834,"extent_end":2863,"fully_qualified_name":"Snapshot","ident_utf16":{"start":{"line_number":22,"utf16_col":6},"end":{"line_number":22,"utf16_col":14}},"extent_utf16":{"start":{"line_number":22,"utf16_col":0},"end":{"line_number":79,"utf16_col":20}}},{"name":"__init__","kind":"function","ident_start":961,"ident_end":969,"extent_start":957,"extent_end":1729,"fully_qualified_name":"Snapshot.__init__","ident_utf16":{"start":{"line_number":25,"utf16_col":8},"end":{"line_number":25,"utf16_col":16}},"extent_utf16":{"start":{"line_number":25,"utf16_col":4},"end":{"line_number":39,"utf16_col":68}}},{"name":"_validate","kind":"function","ident_start":1739,"ident_end":1748,"extent_start":1735,"extent_end":2016,"fully_qualified_name":"Snapshot._validate","ident_utf16":{"start":{"line_number":41,"utf16_col":8},"end":{"line_number":41,"utf16_col":17}},"extent_utf16":{"start":{"line_number":41,"utf16_col":4},"end":{"line_number":48,"utf16_col":64}}},{"name":"label","kind":"function","ident_start":2040,"ident_end":2045,"extent_start":2036,"extent_end":2124,"fully_qualified_name":"Snapshot.label","ident_utf16":{"start":{"line_number":51,"utf16_col":8},"end":{"line_number":51,"utf16_col":13}},"extent_utf16":{"start":{"line_number":51,"utf16_col":4},"end":{"line_number":53,"utf16_col":31}}},{"name":"type","kind":"function","ident_start":2148,"ident_end":2152,"extent_start":2144,"extent_end":2230,"fully_qualified_name":"Snapshot.type","ident_utf16":{"start":{"line_number":56,"utf16_col":8},"end":{"line_number":56,"utf16_col":12}},"extent_utf16":{"start":{"line_number":56,"utf16_col":4},"end":{"line_number":58,"utf16_col":31}}},{"name":"channel","kind":"function","ident_start":2254,"ident_end":2261,"extent_start":2250,"extent_end":2474,"fully_qualified_name":"Snapshot.channel","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":65,"utf16_col":28}}},{"name":"channels","kind":"function","ident_start":2498,"ident_end":2506,"extent_start":2494,"extent_end":2630,"fully_qualified_name":"Snapshot.channels","ident_utf16":{"start":{"line_number":68,"utf16_col":8},"end":{"line_number":68,"utf16_col":16}},"extent_utf16":{"start":{"line_number":68,"utf16_col":4},"end":{"line_number":70,"utf16_col":30}}},{"name":"duration","kind":"function","ident_start":2654,"ident_end":2662,"extent_start":2650,"extent_end":2737,"fully_qualified_name":"Snapshot.duration","ident_utf16":{"start":{"line_number":73,"utf16_col":8},"end":{"line_number":73,"utf16_col":16}},"extent_utf16":{"start":{"line_number":73,"utf16_col":4},"end":{"line_number":75,"utf16_col":16}}},{"name":"is_parameterized","kind":"function","ident_start":2747,"ident_end":2763,"extent_start":2743,"extent_end":2863,"fully_qualified_name":"Snapshot.is_parameterized","ident_utf16":{"start":{"line_number":77,"utf16_col":8},"end":{"line_number":77,"utf16_col":24}},"extent_utf16":{"start":{"line_number":77,"utf16_col":4},"end":{"line_number":79,"utf16_col":20}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/Qiskit/qiskit/branches":{"post":"8ZMD6Z4-uZfN_Qam3QQnsWJ70PDpzECQ2YVVst6B3QwmCsBUSlspTu9dBNwE5B-33Vqry8HR602TeLOFesMtaw"},"/repos/preferences":{"post":"y45zKoWeOP-ZqrUAWbo8aiCNxQA8RykFYSEP_hzwD_VU7fOGNGJioCLkp22kHO5uDhEyxWvHcuAacnhyKrtULw"}}},"title":"qiskit/qiskit/pulse/instructions/snapshot.py at main · Qiskit/qiskit"}