Skip to content

Commit

Permalink
Add future imports
Browse files Browse the repository at this point in the history
  • Loading branch information
cdbf1 committed Jul 16, 2024
1 parent d6b72db commit bc42a9e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cirq-superstaq/cirq_superstaq/qcvv/base_experiment.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Copyright 2021 The Cirq Developers
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Base experiment class and tools used across all experiments.
"""
from __future__ import annotations

import warnings
from abc import ABC, abstractmethod
Expand Down
15 changes: 15 additions & 0 deletions cirq-superstaq/cirq_superstaq/qcvv/base_experiment_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# Copyright 2021 The Cirq Developers
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# pylint: disable=missing-function-docstring
# mypy: disable-error-code=method-assign

from __future__ import annotations

import os
from typing import NamedTuple
from unittest.mock import MagicMock, call, patch
Expand Down

0 comments on commit bc42a9e

Please sign in to comment.