diff --git a/.travis.yml b/.travis.yml index b270dba97..6ae695563 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,14 @@ -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. notifications: email: false diff --git a/Makefile b/Makefile index a49425631..e44e7b778 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,15 @@ -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. + .PHONY: lint style test diff --git a/qiskit/providers/ibmq/__init__.py b/qiskit/providers/ibmq/__init__.py index 1d090583c..ef9d2c2ba 100644 --- a/qiskit/providers/ibmq/__init__.py +++ b/qiskit/providers/ibmq/__init__.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Backends provided by IBM Quantum Experience.""" diff --git a/qiskit/providers/ibmq/api/__init__.py b/qiskit/providers/ibmq/api/__init__.py index f6ee90a4d..305dbb4e5 100644 --- a/qiskit/providers/ibmq/api/__init__.py +++ b/qiskit/providers/ibmq/api/__init__.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """IBM Q API connector.""" diff --git a/qiskit/providers/ibmq/api/apijobstatus.py b/qiskit/providers/ibmq/api/apijobstatus.py index 09058f07c..755e3f349 100644 --- a/qiskit/providers/ibmq/api/apijobstatus.py +++ b/qiskit/providers/ibmq/api/apijobstatus.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2019, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2018, 2019. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Values used by the API for a job status.""" diff --git a/qiskit/providers/ibmq/api/exceptions.py b/qiskit/providers/ibmq/api/exceptions.py index a6c326247..4bb7c63d0 100644 --- a/qiskit/providers/ibmq/api/exceptions.py +++ b/qiskit/providers/ibmq/api/exceptions.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Exceptions for IBMQ Connector.""" diff --git a/qiskit/providers/ibmq/api/ibmqconnector.py b/qiskit/providers/ibmq/api/ibmqconnector.py index db1388a78..77bcfc78a 100644 --- a/qiskit/providers/ibmq/api/ibmqconnector.py +++ b/qiskit/providers/ibmq/api/ibmqconnector.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """IBM Q API connector.""" diff --git a/qiskit/providers/ibmq/api/utils.py b/qiskit/providers/ibmq/api/utils.py index e8f8b9d32..1c4cded69 100644 --- a/qiskit/providers/ibmq/api/utils.py +++ b/qiskit/providers/ibmq/api/utils.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Utilities for IBM Q API connector.""" diff --git a/qiskit/providers/ibmq/api/websocket.py b/qiskit/providers/ibmq/api/websocket.py index 66106b53a..2fbd7b688 100644 --- a/qiskit/providers/ibmq/api/websocket.py +++ b/qiskit/providers/ibmq/api/websocket.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2018, 2019. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Utilities for IBM Q API connector.""" diff --git a/qiskit/providers/ibmq/credentials/__init__.py b/qiskit/providers/ibmq/credentials/__init__.py index 0e11374e1..3aa2bb85f 100644 --- a/qiskit/providers/ibmq/credentials/__init__.py +++ b/qiskit/providers/ibmq/credentials/__init__.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Utilities for working with credentials for the IBMQ package.""" diff --git a/qiskit/providers/ibmq/credentials/configrc.py b/qiskit/providers/ibmq/credentials/configrc.py index 21e61c817..8e7b356f0 100644 --- a/qiskit/providers/ibmq/credentials/configrc.py +++ b/qiskit/providers/ibmq/credentials/configrc.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Utilities for reading and writing credentials from and to config files.""" diff --git a/qiskit/providers/ibmq/credentials/credentials.py b/qiskit/providers/ibmq/credentials/credentials.py index 5254c809b..c1ddf1574 100644 --- a/qiskit/providers/ibmq/credentials/credentials.py +++ b/qiskit/providers/ibmq/credentials/credentials.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Model for representing IBM Q credentials.""" diff --git a/qiskit/providers/ibmq/credentials/environ.py b/qiskit/providers/ibmq/credentials/environ.py index 4073f9768..8459f5964 100644 --- a/qiskit/providers/ibmq/credentials/environ.py +++ b/qiskit/providers/ibmq/credentials/environ.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Utilities for reading credentials from environment variables.""" diff --git a/qiskit/providers/ibmq/credentials/exceptions.py b/qiskit/providers/ibmq/credentials/exceptions.py index f1e40774d..cc9c353c7 100644 --- a/qiskit/providers/ibmq/credentials/exceptions.py +++ b/qiskit/providers/ibmq/credentials/exceptions.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Exception for the Credentials module.""" diff --git a/qiskit/providers/ibmq/credentials/qconfig.py b/qiskit/providers/ibmq/credentials/qconfig.py index c22c122a2..c2dc5fea5 100644 --- a/qiskit/providers/ibmq/credentials/qconfig.py +++ b/qiskit/providers/ibmq/credentials/qconfig.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Utilities for reading credentials from the deprecated `Qconfig.py` file.""" diff --git a/qiskit/providers/ibmq/exceptions.py b/qiskit/providers/ibmq/exceptions.py index 1c49abbc2..faeb6dcf4 100644 --- a/qiskit/providers/ibmq/exceptions.py +++ b/qiskit/providers/ibmq/exceptions.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Exception for the IBMQ module.""" diff --git a/qiskit/providers/ibmq/ibmqbackend.py b/qiskit/providers/ibmq/ibmqbackend.py index 86508e32e..df1a87470 100644 --- a/qiskit/providers/ibmq/ibmqbackend.py +++ b/qiskit/providers/ibmq/ibmqbackend.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2017, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Module for interfacing with an IBMQ Backend.""" diff --git a/qiskit/providers/ibmq/ibmqjob.py b/qiskit/providers/ibmq/ibmqjob.py index 060a8318e..b592d8ae1 100644 --- a/qiskit/providers/ibmq/ibmqjob.py +++ b/qiskit/providers/ibmq/ibmqjob.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2017, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """IBMQJob module diff --git a/qiskit/providers/ibmq/ibmqprovider.py b/qiskit/providers/ibmq/ibmqprovider.py index 81d50ff1e..4c6d65e76 100644 --- a/qiskit/providers/ibmq/ibmqprovider.py +++ b/qiskit/providers/ibmq/ibmqprovider.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Provider for remote IBMQ backends with admin features.""" diff --git a/qiskit/providers/ibmq/ibmqsingleprovider.py b/qiskit/providers/ibmq/ibmqsingleprovider.py index cc0dd7193..b00b6cc1d 100644 --- a/qiskit/providers/ibmq/ibmqsingleprovider.py +++ b/qiskit/providers/ibmq/ibmqsingleprovider.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Provider for a single IBMQ account.""" diff --git a/qiskit/providers/ibmq/utils.py b/qiskit/providers/ibmq/utils.py index 6de4c623c..7381b8205 100644 --- a/qiskit/providers/ibmq/utils.py +++ b/qiskit/providers/ibmq/utils.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2019, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2018, 2019. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Utilities related to the IBMQ Provider.""" diff --git a/qiskit/providers/ibmq/version.py b/qiskit/providers/ibmq/version.py index a347072fe..c0686b71d 100644 --- a/qiskit/providers/ibmq/version.py +++ b/qiskit/providers/ibmq/version.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Contains the package version.""" diff --git a/setup.py b/setup.py index 14e1b8639..75c890dcd 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. import os diff --git a/test/__init__.py b/test/__init__.py index 57a96935c..11922035f 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1,8 +1,15 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Test for the qiskit-ibmq-provider package.""" diff --git a/test/ibmq/__init__.py b/test/ibmq/__init__.py index d7da1a72c..1b87a9582 100644 --- a/test/ibmq/__init__.py +++ b/test/ibmq/__init__.py @@ -1,8 +1,15 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Qiskit IBMQ integration tests.""" diff --git a/test/ibmq/test_filter_backends.py b/test/ibmq/test_filter_backends.py index 792d0da20..7158837ca 100644 --- a/test/ibmq/test_filter_backends.py +++ b/test/ibmq/test_filter_backends.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2017, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Backends Filtering Test.""" diff --git a/test/ibmq/test_ibmq_backends.py b/test/ibmq/test_ibmq_backends.py index 2bba76be9..1922afc8a 100644 --- a/test/ibmq/test_ibmq_backends.py +++ b/test/ibmq/test_ibmq_backends.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Tests for all IBMQ backends.""" diff --git a/test/ibmq/test_ibmq_connector.py b/test/ibmq/test_ibmq_connector.py index c6d84793c..960077c4b 100644 --- a/test/ibmq/test_ibmq_connector.py +++ b/test/ibmq/test_ibmq_connector.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Test IBMQConnector.""" diff --git a/test/ibmq/test_ibmq_integration.py b/test/ibmq/test_ibmq_integration.py index 3f49417f7..c8046efa2 100644 --- a/test/ibmq/test_ibmq_integration.py +++ b/test/ibmq/test_ibmq_integration.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """IBMQ provider integration tests (compile and run).""" diff --git a/test/ibmq/test_ibmq_job.py b/test/ibmq/test_ibmq_job.py index 3ef78addf..2f4197a65 100644 --- a/test/ibmq/test_ibmq_job.py +++ b/test/ibmq/test_ibmq_job.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """IBMQJob Test.""" diff --git a/test/ibmq/test_ibmq_job_states.py b/test/ibmq/test_ibmq_job_states.py index 34ea30b75..c1e91757b 100644 --- a/test/ibmq/test_ibmq_job_states.py +++ b/test/ibmq/test_ibmq_job_states.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. # pylint: disable=missing-docstring diff --git a/test/ibmq/test_ibmq_qasm_simulator.py b/test/ibmq/test_ibmq_qasm_simulator.py index 5a55b2fac..abeecb140 100644 --- a/test/ibmq/test_ibmq_qasm_simulator.py +++ b/test/ibmq/test_ibmq_qasm_simulator.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Test IBMQ online qasm simulator.""" diff --git a/test/ibmq/test_ibmq_qobj.py b/test/ibmq/test_ibmq_qobj.py index 1a15d1d7c..4f33a99fd 100644 --- a/test/ibmq/test_ibmq_qobj.py +++ b/test/ibmq/test_ibmq_qobj.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """IBMQ Remote Backend Qobj Tests.""" diff --git a/test/ibmq/test_registration.py b/test/ibmq/test_registration.py index f11cd1fe3..5a42f6e49 100644 --- a/test/ibmq/test_registration.py +++ b/test/ibmq/test_registration.py @@ -1,10 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. - +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Test the registration and credentials features of the IBMQ module.""" diff --git a/test/jobtestcase.py b/test/jobtestcase.py index d57561fc7..5b3605e40 100644 --- a/test/jobtestcase.py +++ b/test/jobtestcase.py @@ -1,9 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2018, IBM. +# This code is part of Qiskit. # -# This source code is licensed under the Apache License, Version 2.0 found in -# the LICENSE.txt file in the root directory of this source tree. +# (C) Copyright IBM 2017, 2018. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. """Custom TestCase for Jobs."""