Coverage for src/braket/devices/device_details.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# Copyright 2019-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"). You
4# may not use this file except in compliance with the License. A copy of
5# the License is located at
6#
7# http://aws.amazon.com/apache2.0/
8#
9# or in the "license" file accompanying this file. This file is
10# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11# ANY KIND, either express or implied. See the License for the specific
12# language governing permissions and limitations under the License.
14from dataclasses import dataclass
15from uuid import UUID
18@dataclass
19class DeviceDetails:
20 """
21 Details of a quantum device. This class is intended to be initailized by a Device class.
22 """
24 # TODO: Add fields we need
26 # Placeholder fields
27 id: UUID
28 qubit_count: int