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

qiskit-community / qiskit-algorithms / 10357452565

12 Aug 2024 06:37PM CUT coverage: 90.448% (+0.004%) from 90.444%
10357452565

Pull #197

github

web-flow
Merge 0e6e6f03f into 23f3b8540
Pull Request #197: Added V2 and ISA support

24 of 25 new or added lines in 4 files covered. (96.0%)

8 existing lines in 3 files now uncovered.

6382 of 7056 relevant lines covered (90.45%)

0.9 hits per line

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

83.33
/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

15
from typing import Any, List, Protocol, Union
1✔
16

17
from qiskit import QuantumCircuit
1✔
18

19
_Circuits = Union[List[QuantumCircuit], QuantumCircuit]
1✔
20

21

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

25
    def run(self, circuits: _Circuits, **options: Any) -> _Circuits:
1✔
26
        """Transpile a circuit or a list of quantum circuits."""
NEW
27
        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