text
stringlengths
4
4.46M
id
stringlengths
13
126
metadata
dict
__index_level_0__
int64
0
415
"""Simple program in Qiskit.""" # Import the Qiskit package import qiskit # Create a quantum register with one qubit qreg = qiskit.QuantumRegister(1, name='qreg') # Create a classical register with one qubit creg = qiskit.ClassicalRegister(1, name='creg') # Create a quantum circuit with the above registers circ = q...
quantumcomputingbook/chapter06/qiskit/qiskit-basic.py/0
{ "file_path": "quantumcomputingbook/chapter06/qiskit/qiskit-basic.py", "repo_id": "quantumcomputingbook", "token_count": 257 }
341
"""์จํ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๊ฐ„๋‹จํ•œ ์˜ˆ์ œ ํ”„๋กœ๊ทธ๋žจ.""" # ์จํ ํŒจํ‚ค์ง€ ๊ฐ€์ ธ์˜ค์„ธ์š”. import cirq # ํ๋น„ํŠธ ํ•˜๋‚˜๋ฅผ ๊ณ ๋ฅด์„ธ์š”. qubit = cirq.GridQubit(0, 0) # ํšŒ๋กœ๋ฅผ ๋งŒ๋“œ์„ธ์š”. circuit = cirq.Circuit([ cirq.X(qubit), # ์–‘์ž ๋…ผ๋ฆฌ์—์„œ์˜ NOT. cirq.measure(qubit, key='m') # ํ๋น„ํŠธ ์ธก์ •. ] ) # ํšŒ๋กœ๋ฅผ ํ™”๋ฉด์— ํ…์ŠคํŠธ๋กœ ์ถœ๋ ฅํ•ฉ๋‹ˆ๋‹ค. print("Circuit:") print(circuit) # ํšŒ๋กœ๋ฅผ ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•œ ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค. simula...
quantumcomputingbook/korean/chapter06/cirq/cirq-basic.py/0
{ "file_path": "quantumcomputingbook/korean/chapter06/cirq/cirq-basic.py", "repo_id": "quantumcomputingbook", "token_count": 489 }
342
"""ํ‚ค์Šคํ‚ท์—์„œ ์–‘์ž ์›๊ฒฉ์ด๋™ํ•˜๊ธฐ.""" from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister #from qiskit import available_backends, execute # ์–‘์ž ๋ ˆ์ง€์Šคํ„ฐ์™€ ๊ณ ์ „ ๋ ˆ์ง€์Šคํ„ฐ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. q = QuantumRegister(3) c = ClassicalRegister(3) qc = QuantumCircuit(q, c) # ์ดˆ๊ธฐ ์ค‘์ฒฉ ์–‘์ž ์ƒํƒœ |+>๋ฅผ ๊ตฌํ˜„ํ•ฉ๋‹ˆ๋‹ค. qc.h(q[0]) # ํ๋น„ํŠธ๋ฅผ ์ค‘์ฒฉ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. qc.h(q[0]) # CNOT ์—ฐ...
quantumcomputingbook/korean/chapter07/qiskit/teleportation.py/0
{ "file_path": "quantumcomputingbook/korean/chapter07/qiskit/teleportation.py", "repo_id": "quantumcomputingbook", "token_count": 1396 }
343
"""ํŒŒ์ดํ€ผ(pyQuil)์—์„œ QAOAํ•˜๊ธฐ ์˜ˆ์ œ""" ########################################################## # Copyright 2016-2018 Rigetti Computing # # 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 # #...
quantumcomputingbook/korean/chapter09/pyquil/qaoa.py/0
{ "file_path": "quantumcomputingbook/korean/chapter09/pyquil/qaoa.py", "repo_id": "quantumcomputingbook", "token_count": 1674 }
344
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/libs/tkrng/include/tkrng/RNG.hpp/0
{ "file_path": "tket/libs/tkrng/include/tkrng/RNG.hpp", "repo_id": "tket", "token_count": 2414 }
345
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/libs/tktokenswap/include/tktokenswap/DistanceFunctions.hpp/0
{ "file_path": "tket/libs/tktokenswap/include/tktokenswap/DistanceFunctions.hpp", "repo_id": "tket", "token_count": 859 }
346
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/libs/tktokenswap/include/tktokenswap/SwapSequenceTable.hpp/0
{ "file_path": "tket/libs/tktokenswap/include/tktokenswap/SwapSequenceTable.hpp", "repo_id": "tket", "token_count": 1591 }
347
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/libs/tktokenswap/src/TableLookup/SwapSequenceTable.cpp/0
{ "file_path": "tket/libs/tktokenswap/src/TableLookup/SwapSequenceTable.cpp", "repo_id": "tket", "token_count": 66728 }
348
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/libs/tktokenswap/test/src/TableLookup/SwapSequenceReductionTester.cpp/0
{ "file_path": "tket/libs/tktokenswap/test/src/TableLookup/SwapSequenceReductionTester.cpp", "repo_id": "tket", "token_count": 2148 }
349
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/libs/tkwsm/include/tkwsm/Common/GeneralUtils.hpp/0
{ "file_path": "tket/libs/tkwsm/include/tkwsm/Common/GeneralUtils.hpp", "repo_id": "tket", "token_count": 2464 }
350
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/libs/tkwsm/include/tkwsm/GraphTheoretic/GeneralStructs.hpp/0
{ "file_path": "tket/libs/tkwsm/include/tkwsm/GraphTheoretic/GeneralStructs.hpp", "repo_id": "tket", "token_count": 1302 }
351
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/libs/tkwsm/include/tkwsm/Searching/DomainsAccessor.hpp/0
{ "file_path": "tket/libs/tkwsm/include/tkwsm/Searching/DomainsAccessor.hpp", "repo_id": "tket", "token_count": 2003 }
352
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/libs/tkwsm/src/GraphTheoretic/DerivedGraphs.cpp/0
{ "file_path": "tket/libs/tkwsm/src/GraphTheoretic/DerivedGraphs.cpp", "repo_id": "tket", "token_count": 899 }
353
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/libs/tkwsm/test/src/InitPlacement/WeightedBinaryTree.hpp/0
{ "file_path": "tket/libs/tkwsm/test/src/InitPlacement/WeightedBinaryTree.hpp", "repo_id": "tket", "token_count": 1321 }
354
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/libs/tkwsm/test/src/SolvingProblems/test_UnweightedProblems.cpp/0
{ "file_path": "tket/libs/tkwsm/test/src/SolvingProblems/test_UnweightedProblems.cpp", "repo_id": "tket", "token_count": 5150 }
355
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/libs/tkwsm/test/src/TestUtils/test_SquareGridGeneration.cpp/0
{ "file_path": "tket/libs/tkwsm/test/src/TestUtils/test_SquareGridGeneration.cpp", "repo_id": "tket", "token_count": 4846 }
356
self: super: { pybind11_json = super.stdenv.mkDerivation { name = "pybind11_json"; src = super.fetchFromGitHub { owner = "pybind"; repo = "pybind11_json"; rev = "0.2.14"; sha256 = "sha256-6L675DsfafzRv0mRR3b0eUFFjUpll3jCPoBAAffk7U0="; }; nativeBuildInputs = [ super.cmake ]; ...
tket/nix-support/third-party-python-packages.nix/0
{ "file_path": "tket/nix-support/third-party-python-packages.nix", "repo_id": "tket", "token_count": 824 }
357
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/pytket/binders/include/add_gate.hpp/0
{ "file_path": "tket/pytket/binders/include/add_gate.hpp", "repo_id": "tket", "token_count": 1632 }
358
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/pytket/binders/tailoring.cpp/0
{ "file_path": "tket/pytket/binders/tailoring.cpp", "repo_id": "tket", "token_count": 3617 }
359
pytket.circuit.Circuit ====================== :py:class:`Circuit` objects provide an abstraction of quantum circuits. They consist of a set of qubits/quantum wires and a collection of operations applied to them in a given order. These wires have open inputs and outputs, rather than assuming any fixed input state. See ...
tket/pytket/docs/circuit_class.rst/0
{ "file_path": "tket/pytket/docs/circuit_class.rst", "repo_id": "tket", "token_count": 3107 }
360
pytket.placement ================================== In order for the constraints of a :py:class:`Backend` to be solved we must first assign device qubits to device-independent (or program) qubits. This module contains three placement methods to perform such an assignment. For more on qubit placement (and routing in ...
tket/pytket/docs/placement.rst/0
{ "file_path": "tket/pytket/docs/placement.rst", "repo_id": "tket", "token_count": 184 }
361
from __future__ import annotations import pytket.circuit.logic_exp import typing __all__ = ['Bit', 'BitRegister', 'Node', 'Qubit', 'QubitRegister', 'UnitID', 'UnitType'] class Bit(UnitID): """ A handle to a bit """ @staticmethod def from_list(arg0: list) -> Bit: """ Construct Bit ins...
tket/pytket/pytket/_tket/unit_id.pyi/0
{ "file_path": "tket/pytket/pytket/_tket/unit_id.pyi", "repo_id": "tket", "token_count": 7168 }
362
{% macro show_circuit_page(display_options, circuit_json, uid, min_width, min_height) %} <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> {% include "html/head_imports.html" %} </head> <body> {% if not jupyter %} <div style=" position:absolute; top:0;bottom:0;left:0;right:0; margin:...
tket/pytket/pytket/circuit/display/static/circuit.html/0
{ "file_path": "tket/pytket/pytket/circuit/display/static/circuit.html", "repo_id": "tket", "token_count": 698 }
363
# Copyright 2019-2024 Cambridge Quantum Computing # # 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 a...
tket/pytket/pytket/utils/spam.py/0
{ "file_path": "tket/pytket/pytket/utils/spam.py", "repo_id": "tket", "token_count": 10526 }
364
# Copyright 2019-2024 Cambridge Quantum Computing # # 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 a...
tket/pytket/tests/assertion_test.py/0
{ "file_path": "tket/pytket/tests/assertion_test.py", "repo_id": "tket", "token_count": 1494 }
365
# Copyright 2019-2024 Cambridge Quantum Computing # # 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 a...
tket/pytket/tests/passes_serialisation_test.py/0
{ "file_path": "tket/pytket/tests/passes_serialisation_test.py", "repo_id": "tket", "token_count": 11772 }
366
OPENQASM 2.0; include "qelib1.inc"; qreg q[3]; rz(1.5*pi) q[4];
tket/pytket/tests/qasm_test_files/test2.qasm/0
{ "file_path": "tket/pytket/tests/qasm_test_files/test2.qasm", "repo_id": "tket", "token_count": 40 }
367
Inputs: 0:Qbit, 1:Qbit, 2:Qbit, 3:Qbit, 4:Cbit, 5:Cbit QGate["not"](0) with controls=[+1] with nocontrol QGate["X"](0) with controls=[+1,-2] with nocontrol QGate["Y"](0) with controls=[+3] QGate["X"](1) with controls=[+0,-2,+3] QGate["H"](2) QGate["iX"](0) QGate["Z"](3) QGate["Z"](2) with controls=[-0] QGate["H"](2) wi...
tket/pytket/tests/quipper_test_files/test2.quip/0
{ "file_path": "tket/pytket/tests/quipper_test_files/test2.quip", "repo_id": "tket", "token_count": 385 }
368
Inputs: 0:Qbit QRot["exp(-i%Z)",0.5](0) Outputs: 0:Qbit
tket/pytket/tests/quipper_test_files/test4-6.quip/0
{ "file_path": "tket/pytket/tests/quipper_test_files/test4-6.quip", "repo_id": "tket", "token_count": 32 }
369
void init() {} typedef struct _twoints { unsigned x; unsigned y; } twoints; twoints divmod(unsigned x, unsigned y) { unsigned q, r; if (y == 0) { q = 0; r = 0; } else { q = x / y; r = x % y; } twoints result = {q, r}; return result; }
tket/pytket/tests/wasm-generation/wasmfromcpp/multivalue.c/0
{ "file_path": "tket/pytket/tests/wasm-generation/wasmfromcpp/multivalue.c", "repo_id": "tket", "token_count": 158 }
370
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "http://cambridgequantum.com/schemas/tket/compiler_pass_v1.json", "type": "object", "description": "Serialization of a pytket compiler pass v1", "properties": { "pass_class": { "enum": [ "StandardPass", "SequencePass", ...
tket/schemas/compiler_pass_v1.json/0
{ "file_path": "tket/schemas/compiler_pass_v1.json", "repo_id": "tket", "token_count": 15529 }
371
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/include/tket/Architecture/DistancesFromArchitecture.hpp/0
{ "file_path": "tket/tket/include/tket/Architecture/DistancesFromArchitecture.hpp", "repo_id": "tket", "token_count": 1086 }
372
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/include/tket/Circuit/DAGDefs.hpp/0
{ "file_path": "tket/tket/include/tket/Circuit/DAGDefs.hpp", "repo_id": "tket", "token_count": 1074 }
373
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/include/tket/Converters/PhasePoly.hpp/0
{ "file_path": "tket/tket/include/tket/Converters/PhasePoly.hpp", "repo_id": "tket", "token_count": 1610 }
374
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/include/tket/Graphs/ArticulationPoints.hpp/0
{ "file_path": "tket/tket/include/tket/Graphs/ArticulationPoints.hpp", "repo_id": "tket", "token_count": 1074 }
375
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/include/tket/Mapping/LexiRouteRoutingMethod.hpp/0
{ "file_path": "tket/tket/include/tket/Mapping/LexiRouteRoutingMethod.hpp", "repo_id": "tket", "token_count": 535 }
376
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/include/tket/Predicates/Predicates.hpp/0
{ "file_path": "tket/tket/include/tket/Predicates/Predicates.hpp", "repo_id": "tket", "token_count": 3090 }
377
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/include/tket/Transformations/Rebase.hpp/0
{ "file_path": "tket/tket/include/tket/Transformations/Rebase.hpp", "repo_id": "tket", "token_count": 770 }
378
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/include/tket/Utils/PauliTensor.hpp/0
{ "file_path": "tket/tket/include/tket/Utils/PauliTensor.hpp", "repo_id": "tket", "token_count": 13326 }
379
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/src/ArchAwareSynth/SteinerTree.cpp/0
{ "file_path": "tket/tket/src/ArchAwareSynth/SteinerTree.cpp", "repo_id": "tket", "token_count": 11360 }
380
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/src/Circuit/CircuitJson.cpp/0
{ "file_path": "tket/tket/src/Circuit/CircuitJson.cpp", "repo_id": "tket", "token_count": 1059 }
381
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/src/Circuit/Simulation/DecomposeCircuit.cpp/0
{ "file_path": "tket/tket/src/Circuit/Simulation/DecomposeCircuit.cpp", "repo_id": "tket", "token_count": 2182 }
382
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/src/Clifford/ChoiMixTableau.cpp/0
{ "file_path": "tket/tket/src/Clifford/ChoiMixTableau.cpp", "repo_id": "tket", "token_count": 10704 }
383
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/src/Gate/GateUnitaryMatrixComposites.cpp/0
{ "file_path": "tket/tket/src/Gate/GateUnitaryMatrixComposites.cpp", "repo_id": "tket", "token_count": 1672 }
384
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/src/Graphs/ColouringPriority.cpp/0
{ "file_path": "tket/tket/src/Graphs/ColouringPriority.cpp", "repo_id": "tket", "token_count": 2695 }
385
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/src/Mapping/RoutingMethodJson.cpp/0
{ "file_path": "tket/tket/src/Mapping/RoutingMethodJson.cpp", "repo_id": "tket", "token_count": 923 }
386
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/src/Placement/Frontier.cpp/0
{ "file_path": "tket/tket/src/Placement/Frontier.cpp", "repo_id": "tket", "token_count": 811 }
387
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/src/Transformations/CliffordReductionPass.cpp/0
{ "file_path": "tket/tket/src/Transformations/CliffordReductionPass.cpp", "repo_id": "tket", "token_count": 12251 }
388
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/src/Transformations/SingleQubitSquash.cpp/0
{ "file_path": "tket/tket/src/Transformations/SingleQubitSquash.cpp", "repo_id": "tket", "token_count": 3821 }
389
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/src/ZX/ZXDManipulation.cpp/0
{ "file_path": "tket/tket/src/ZX/ZXDManipulation.cpp", "repo_id": "tket", "token_count": 2527 }
390
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/test/src/Circuit/test_DummyBox.cpp/0
{ "file_path": "tket/tket/test/src/Circuit/test_DummyBox.cpp", "repo_id": "tket", "token_count": 802 }
391
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/test/src/Graphs/EdgeSequenceColouringParameters.hpp/0
{ "file_path": "tket/tket/test/src/Graphs/EdgeSequenceColouringParameters.hpp", "repo_id": "tket", "token_count": 900 }
392
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/test/src/Ops/test_Expression.cpp/0
{ "file_path": "tket/tket/test/src/Ops/test_Expression.cpp", "repo_id": "tket", "token_count": 1178 }
393
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/test/src/ZX/test_ZXAxioms.cpp/0
{ "file_path": "tket/tket/test/src/ZX/test_ZXAxioms.cpp", "repo_id": "tket", "token_count": 5210 }
394
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/test/src/test_ControlDecomp.cpp/0
{ "file_path": "tket/tket/test/src/test_ControlDecomp.cpp", "repo_id": "tket", "token_count": 15427 }
395
// Copyright 2019-2024 Cambridge Quantum Computing // // 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...
tket/tket/test/src/test_PauliGraph.cpp/0
{ "file_path": "tket/tket/test/src/test_PauliGraph.cpp", "repo_id": "tket", "token_count": 18037 }
396