Coverage for /home/runner/work/tket/tket/pytket/pytket/qasm/__init__.py: 100%
2 statements
« prev ^ index » next coverage.py v7.6.12, created at 2025-03-14 11:30 +0000
« prev ^ index » next coverage.py v7.6.12, created at 2025-03-14 11:30 +0000
1# Copyright Quantinuum
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
15"""Parser from OPENQASM to tket Circuits"""
17__path__ = __import__("pkgutil").extend_path(__path__, __name__)
19from .qasm import (
20 circuit_from_qasm,
21 circuit_from_qasm_io,
22 circuit_from_qasm_str,
23 circuit_from_qasm_wasm,
24 circuit_to_qasm,
25 circuit_to_qasm_io,
26 circuit_to_qasm_str,
27)