• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

qiskit-community / qiskit-algorithms / 16423372178

21 Jul 2025 05:06PM CUT coverage: 90.0% (-0.5%) from 90.462%
16423372178

Pull #197

github

web-flow
Merge 69c7c00f6 into bd91342d0
Pull Request #197: Added V2 and ISA support

704 of 768 new or added lines in 51 files covered. (91.67%)

11 existing lines in 3 files now uncovered.

6561 of 7290 relevant lines covered (90.0%)

0.9 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

85.71
/qiskit_algorithms/custom_types.py
1
# This code is part of a Qiskit project.
2
#
3
# (C) Copyright IBM 2024.
4
#
5
# This code is licensed under the Apache License, Version 2.0. You may
6
# obtain a copy of this license in the LICENSE.txt file in the root directory
7
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
8
#
9
# Any modifications or derivative works of this code must retain this
10
# copyright notice, and modified files need to carry a notice indicating
11
# that they have been altered from the originals.
12

13
"""Types used by the qiskit-algorithms package."""
14
from __future__ import annotations
1✔
15

16
from typing import Any, Protocol, Union
1✔
17

18
from qiskit import QuantumCircuit
1✔
19

20
_Circuits = Union[list[QuantumCircuit], QuantumCircuit]
1✔
21

22

23
class Transpiler(Protocol):
1✔
24
    """A Generic type to represent a transpiler."""
25

26
    def run(self, circuits: _Circuits, **options: Any) -> _Circuits:
1✔
27
        """Transpile a circuit or a list of quantum circuits."""
NEW
28
        pass
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc