Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
4
4.46M
id
stringlengths
13
126
metadata
dict
__index_level_0__
int64
0
415
-- mods/default/item_entity.lua local builtin_item = minetest.registered_entities["__builtin:item"] local item = { set_item = function(self, itemstring) builtin_item.set_item(self, itemstring) local stack = ItemStack(itemstring) local itemdef = minetest.registered_items[stack:get_name()] if itemdef and item...
QiskitBlocks/qiskitblocks/mods/default/item_entity.lua/0
{ "file_path": "QiskitBlocks/qiskitblocks/mods/default/item_entity.lua", "repo_id": "QiskitBlocks", "token_count": 920 }
0
-- mods/default/tools.lua -- The hand minetest.register_item(":", { type = "none", wield_image = "wieldhand.png", wield_scale = {x=1,y=1,z=2.5}, tool_capabilities = { full_punch_interval = 0.9, max_drop_level = 0, groupcaps = { crumbly = {times={[2]=3.00, [3]=0.70}, uses=0, maxlevel=1}, snappy = {times...
QiskitBlocks/qiskitblocks/mods/default/tools.lua/0
{ "file_path": "QiskitBlocks/qiskitblocks/mods/default/tools.lua", "repo_id": "QiskitBlocks", "token_count": 4671 }
1
# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-29 09:13+0200\n" "PO-Revision...
QiskitBlocks/qiskitblocks/mods/mobs_redo/locale/fr.po/0
{ "file_path": "QiskitBlocks/qiskitblocks/mods/mobs_redo/locale/fr.po", "repo_id": "QiskitBlocks", "token_count": 1209 }
2
local S = mobs.intllib -- mob spawner local spawner_default = "mobs_animal:pumba 10 15 0 0" minetest.register_node("mobs:spawner", { tiles = {"mob_spawner.png"}, drawtype = "glasslike", paramtype = "light", walkable = true, description = S("Mob Spawner"), groups = {cracky = 1}, on_construct = function(pos) ...
QiskitBlocks/qiskitblocks/mods/mobs_redo/spawner.lua/0
{ "file_path": "QiskitBlocks/qiskitblocks/mods/mobs_redo/spawner.lua", "repo_id": "QiskitBlocks", "token_count": 1707 }
3
--[[ Copyright 2019 the original author or authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
QiskitBlocks/qiskitblocks/mods/q_command/q_portal_room.lua/0
{ "file_path": "QiskitBlocks/qiskitblocks/mods/q_command/q_portal_room.lua", "repo_id": "QiskitBlocks", "token_count": 505 }
4
local dyes = { {"white", "White"}, {"grey", "Grey"}, {"black", "Black"}, {"red", "Red"}, {"yellow", "Yellow"}, {"green", "Green"}, {"cyan", "Cyan"}, {"blue", "Blue"}, {"magenta", "Magenta"}, {"orange", "Orange"}, {"violet", "Violet"}, {"brown", "Br...
QiskitBlocks/qiskitblocks/mods/wool/init.lua/0
{ "file_path": "QiskitBlocks/qiskitblocks/mods/wool/init.lua", "repo_id": "QiskitBlocks", "token_count": 471 }
5
<jupyter_start><jupyter_text>IBM Q setupThis tutorial will walk you through the configuration for your IBM Q Experience account so that, in the future, you are able to run your Quantum Programs in both online simulators as well as real Quantum Computers.We assume you have installed Qiskit if not please look at [qiskit....
Teach-Me-Quantum/Week 1 - Quantum Tools/exercises/IBMQ_setup.ipynb/0
{ "file_path": "Teach-Me-Quantum/Week 1 - Quantum Tools/exercises/IBMQ_setup.ipynb", "repo_id": "Teach-Me-Quantum", "token_count": 748 }
6
\documentclass[aspectratio=43]{beamer} \usepackage[utf8]{inputenc} %%%%%%%%%%%%%%%%%%%%%%%% THEME \usetheme{material} \useLightTheme \usePrimaryDeepOrange \useAccentCyan \usepackage{macros} % must come after theme \title{\qis} \keywords{\qis} \begin{document} \begin{frame} \titlepage \end{frame} \begin{frame}{T...
Teach-Me-Quantum/Week 2 - Quantum Information Science/latex/main.tex/0
{ "file_path": "Teach-Me-Quantum/Week 2 - Quantum Information Science/latex/main.tex", "repo_id": "Teach-Me-Quantum", "token_count": 5819 }
7
\documentclass[aspectratio=43]{beamer} \usepackage[utf8]{inputenc} %%%%%%%%%%%%%%%%%%%%%%%% THEME \usetheme{material} \useLightTheme \usePrimaryBlueGrey \useAccentDeepPurple \usepackage{macros} % must come after theme \title{High-Level Quantum Programming} \keywords{\qk, \q Programming} \begin{document} \begin{fra...
Teach-Me-Quantum/Week 8 - High Level Quantum Programming/latex/main.tex/0
{ "file_path": "Teach-Me-Quantum/Week 8 - High Level Quantum Programming/latex/main.tex", "repo_id": "Teach-Me-Quantum", "token_count": 4195 }
8
[run] omit = */tests/* mitiq/_about.py [report] # Regexes for lines to exclude from consideration exclude_lines = pragma: no cover # Don't complain if tests don't hit defensive assertion code: raise NotImplementedError
mitiq/.coveragerc/0
{ "file_path": "mitiq/.coveragerc", "repo_id": "mitiq", "token_count": 84 }
9
GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Pream...
mitiq/LICENSE/0
{ "file_path": "mitiq/LICENSE", "repo_id": "mitiq", "token_count": 8075 }
10
```{include} ../../CONTRIBUTING.md :relative-docs: docs/ :relative-images: ```
mitiq/docs/source/contributing.md/0
{ "file_path": "mitiq/docs/source/contributing.md", "repo_id": "mitiq", "token_count": 32 }
11
--- jupytext: text_representation: extension: .md format_name: myst format_version: 0.13 jupytext_version: 1.16.1 kernelspec: display_name: Python 3 (ipykernel) language: python name: python3 --- ```{tags} qiskit, zne, intermediate ``` # ZNE with Qiskit: Layerwise folding This tutorial shows...
mitiq/docs/source/examples/layerwise-folding.md/0
{ "file_path": "mitiq/docs/source/examples/layerwise-folding.md", "repo_id": "mitiq", "token_count": 3319 }
12
<jupyter_start><jupyter_text>Variational Quantum Eigensolver improved with Zero Noise Extrapolation In this example we investigate how Zero Noise Extrapolation (ZNE) can improve convergence when applied to a variational problem. ZNE works by computing the observable of interest at increased noise levels, i.e. beyond th...
mitiq/docs/source/examples/vqe-pyquil-demo.ipynb/0
{ "file_path": "mitiq/docs/source/examples/vqe-pyquil-demo.ipynb", "repo_id": "mitiq", "token_count": 4942 }
13
# Digital Dynamical Decoupling Digital Dynamical Decoupling (DDD) is an error mitigation technique in which sequences of gates are applied to slack windows, i.e. single-qubit idle windows, in a quantum circuit. Such sequences of gates can reduce the coupling between the qubits and the environment, mitigating the effec...
mitiq/docs/source/guide/ddd.md/0
{ "file_path": "mitiq/docs/source/guide/ddd.md", "repo_id": "mitiq", "token_count": 360 }
14
--- jupytext: text_representation: extension: .md format_name: myst format_version: 0.13 jupytext_version: 1.11.1 kernelspec: display_name: Python 3 language: python name: python3 --- # What happens when I use PT? ```{admonition} Warning: Pauli Twirling in Mitiq is still under construction. Th...
mitiq/docs/source/guide/pt-4-low-level.md/0
{ "file_path": "mitiq/docs/source/guide/pt-4-low-level.md", "repo_id": "mitiq", "token_count": 1747 }
15
```{toctree} --- maxdepth: 2 caption: Contents hidden: true --- guide/guide.md examples/examples.md apidoc.md toc_contributing.md changelog.md bibliography.md ``` ```{include} ./readme.md ```
mitiq/docs/source/index.md/0
{ "file_path": "mitiq/docs/source/index.md", "repo_id": "mitiq", "token_count": 84 }
16
# Copyright (C) Unitary Fund # # This source code is licensed under the GPL license (v3) found in the # LICENSE file in the root directory of this source tree. """Functions for creating circuits of the form used in quantum volume experiments as defined in https://arxiv.org/abs/1811.12926. Useful overview of quantum v...
mitiq/mitiq/benchmarks/quantum_volume_circuits.py/0
{ "file_path": "mitiq/mitiq/benchmarks/quantum_volume_circuits.py", "repo_id": "mitiq", "token_count": 1097 }
17
# Copyright (C) Unitary Fund # # This source code is licensed under the GPL license (v3) found in the # LICENSE file in the root directory of this source tree. from dataclasses import asdict, dataclass from enum import Enum, auto from functools import partial from typing import Any, Callable, Dict, List, cast import ...
mitiq/mitiq/calibration/settings.py/0
{ "file_path": "mitiq/mitiq/calibration/settings.py", "repo_id": "mitiq", "token_count": 8815 }
18
# Copyright (C) Unitary Fund # # This source code is licensed under the GPL license (v3) found in the # LICENSE file in the root directory of this source tree. """Built-in rules determining what DDD sequence should be applied in a given slack window.""" from mitiq.ddd.rules.rules import xx, xyxy, yy, general_rule, rep...
mitiq/mitiq/ddd/rules/__init__.py/0
{ "file_path": "mitiq/mitiq/ddd/rules/__init__.py", "repo_id": "mitiq", "token_count": 94 }
19
# Copyright (C) Unitary Fund # # This source code is licensed under the GPL license (v3) found in the # LICENSE file in the root directory of this source tree. from mitiq.interface.mitiq_pennylane.conversions import ( from_pennylane, to_pennylane, UnsupportedQuantumTapeError, )
mitiq/mitiq/interface/mitiq_pennylane/__init__.py/0
{ "file_path": "mitiq/mitiq/interface/mitiq_pennylane/__init__.py", "repo_id": "mitiq", "token_count": 100 }
20
# Copyright (C) Unitary Fund # # This source code is licensed under the GPL license (v3) found in the # LICENSE file in the root directory of this source tree. """Unit tests for qiskit executors (qiskit_utils.py).""" import numpy as np import pytest from qiskit import QuantumCircuit from qiskit_ibm_runtime.fake_provi...
mitiq/mitiq/interface/mitiq_qiskit/tests/test_qiskit_utils.py/0
{ "file_path": "mitiq/mitiq/interface/mitiq_qiskit/tests/test_qiskit_utils.py", "repo_id": "mitiq", "token_count": 3526 }
21
# Copyright (C) Unitary Fund # # This source code is licensed under the GPL license (v3) found in the # LICENSE file in the root directory of this source tree. from mitiq.pec.representations.depolarizing import ( represent_operation_with_global_depolarizing_noise, represent_operation_with_local_depolarizing_n...
mitiq/mitiq/pec/representations/__init__.py/0
{ "file_path": "mitiq/mitiq/pec/representations/__init__.py", "repo_id": "mitiq", "token_count": 382 }
22
# Copyright (C) Unitary Fund # # This source code is licensed under the GPL license (v3) found in the # LICENSE file in the root directory of this source tree. from itertools import product import numpy as np from cirq import ( CNOT, CZ, AmplitudeDampingChannel, Circuit, DepolarizingChannel, H...
mitiq/mitiq/pec/representations/tests/test_optimal.py/0
{ "file_path": "mitiq/mitiq/pec/representations/tests/test_optimal.py", "repo_id": "mitiq", "token_count": 5962 }
23
# Copyright (C) Unitary Fund # # This source code is licensed under the GPL license (v3) found in the # LICENSE file in the root directory of this source tree. """Run experiments without error mitigation.""" from typing import Callable, Optional, Union from mitiq import QPROGRAM, Executor, Observable, QuantumResult ...
mitiq/mitiq/raw/raw.py/0
{ "file_path": "mitiq/mitiq/raw/raw.py", "repo_id": "mitiq", "token_count": 427 }
24
# Copyright (C) Unitary Fund # # This source code is licensed under the GPL license (v3) found in the # LICENSE file in the root directory of this source tree. """Test classical shadow estimation process.""" from numbers import Number import cirq import mitiq from mitiq import MeasurementResult from mitiq.interface...
mitiq/mitiq/shadows/tests/test_shadows.py/0
{ "file_path": "mitiq/mitiq/shadows/tests/test_shadows.py", "repo_id": "mitiq", "token_count": 1349 }
25
# Copyright (C) Unitary Fund # # This source code is licensed under the GPL license (v3) found in the # LICENSE file in the root directory of this source tree. import copy from typing import Callable, List, Optional, cast import numpy as np from cirq import ( Circuit, CXPowGate, CZPowGate, EigenGate, ...
mitiq/mitiq/zne/scaling/parameter.py/0
{ "file_path": "mitiq/mitiq/zne/scaling/parameter.py", "repo_id": "mitiq", "token_count": 1883 }
26
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
3