Copyright 2020 Cambridge Quantum Computing

NON-COMMERCIAL USE SOFTWARE LICENCE AGREEMENT

This Non-Commercial Use Software Licence Agreement (the "Licence") is a legal
agreement between you, the end-user, and Cambridge Quantum Computing Limited
("CQC"). By downloading, accessing, copying or using the pytket python module
version 0.4.0 in source or compiled form, with or without any sub-packages in
source or compiled form (collectively, the "Software"), you are agreeing to be
bound by the terms of this Licence, which prohibit commercial use of the
Software. If you do not agree to the terms of this Licence, do not download,
access, copy or use the Software and promptly destroy the Software you may have
downloaded or copied.

If you wish to use the Software for commercial purposes please contact Denise
Ruffner at denise@cambridgequantum.com to discuss licensing terms.

SOFTWARE LICENCE

Grant of Licence:

In consideration of your agreement to abide by the terms of this Licence, CQC
grants to you a non-exclusive, non-sublicensable, non-transferable, worldwide
right to use the Software for non-commercial purposes. You have no ownership or
proprietary rights in or to the Software.

You may install and use the Software only in accordance with the terms of this
Licence.

The Software, together with any copies thereof (including any archive copies),
shall be destroyed by you when use is no longer in accordance with this
Licence, or, when the right to use the Software is otherwise terminated.

Prohibited Uses:

You must not copy the Software except where such copying is incidental to
normal licensed use of the Software or where it is strictly necessary for the
purpose of back-up or operational security.

You are not permitted, under any circumstances, to commercially exploit the
Software. You may not, therefore, nor may you direct anyone else on your behalf
to, amongst other things, rent, sell, lease, offer for sale, distribute or use
for money or other consideration, redistribute for money or other
consideration, the Software or any part thereof, nor permit the Software or any
part of it to become incorporated in any other programs.

Nor shall you commercially exploit or use for any commercial purpose in any
other manner and through any medium whatsoever, the Software or any part
thereof.

You shall not disassemble, de-compile, reverse engineer, attempt to discover
any source code or create derivative works based on the whole or any part of
the Software nor attempt to do any such things, except to the extent that such
actions are permitted under applicable law and are, for example, where
permitted at law, necessary to decompile the Software to obtain the information
necessary to create an independent program that can be operated with the
Software or with another program.

You agree to comply with all applicable technology control or export laws and
regulations.

Intellectual Property Rights:

You acknowledge that all intellectual property rights, including copyrights, in
the Software throughout the world belong to CQC, that rights in the Software
are licensed (not sold) to you, and that you do not have now or in the future
any intellectual property rights in, or to, the Software other than the right
to use the Software strictly in accordance with the terms of this Licence. You
may not otherwise reproduce, copy or disclose or otherwise make available to
others, in whole or in any part, the Software. You may not copy the written
materials accompanying the Software.

You acknowledge that you have no right to have access to the Software in source
code form other than as provided as accessible in the Software itself, as the
case may be, and as permitted in this Licence.

Certain parts of the source code of the Software in compiled form may be
derived from third party open source software, which you may be licensed to use
independently under the associated open source licence. A list of those parts
and the applicable licences and attributions are provided at
https://cqcl.github.io/pytket/build/html/opensource.html.

You agree to use your best efforts to ensure that any user of the Software
licensed hereunder complies with this Licence.

This Licence does not give you any rights to use any registered or unregistered
trade marks of CQC, nor does this Licence give you any rights to any registered
or unregistered intellectual property rights of CQC which are not related to
the Software or its use.

NO WARRANTIES, GUARANTEES OR INDEMNITIES

This software is provide on an AS IS basis. You acknowledge that the software
is still under development by CQC and that it is experimental and that, to the
fullest extent of the law, all warranties, guarantees or indemnities are
excluded, including, but not limited to, implied warranties of merchantability,
accuracy, completeness, quality and fitness for a particular purpose. You
acknowledge that the software has not been developed to meet your individual
requirements and that CQC does not represent or warrant that the use of the
software will be uninterrupted or error-free. In respect of these exclusions,
you may have other rights which vary from jurisdiction to jurisdiction.

LIMITATION OF LIABILITY

To the maximum extent permitted by law, CQC will not be liable to you under any
legal theory (including any contract, negligence or tort theory) for any losses
or damages which may be suffered by you directly or indirectly. By way of
example, CQC shall have no liability for special damage, incidental damage,
consequential damage, loss of profits, loss of anticipated savings, loss of
business opportunity, loss of goodwill, or loss or corruption of data. Some
jurisdictions do not allow the exclusion or limitation of certain categories of
damage, so part or all of the above limitation or exclusion may not apply to
you in your jurisdiction.

YOUR REPRESENTATION AND INDEMNITY

You represent and warrant that your use of the software will not be unlawful or
illegal and you agree that any use with third party software or services will
comply with the requirements of that third party. You agree to indemnify and
hold harmless CQC and its affiliates against any claims, suits, actions,
liabilities, losses, costs or damage suffered by CQC and any of its affiliates
now and in the future as a result of your use of the software in breach of the
terms of this Licence.

Termination:

Breach of any of the terms of this Licence shall be considered a material
breach and shall cause it to automatically terminate without notice.

CQC retains the right to terminate this Licence at its sole discretion at any
time, without notice, and with or without cause.

Governing Law and Jurisdiction:

This Licence shall be construed in accordance with and governed by the laws of
England and Wales and you consent to the exclusive jurisdiction of the English
courts for any disputes regarding it. Copyright and other proprietary matters
will be governed by the relevant applicable national laws and international
treaties.

Miscellaneous:

This Licence constitutes the entire agreement between you and CQC with regard
to its subject matter.

If you are using the Software on behalf of an entity, whether a company,
academic institution or other organisation, you are agreeing to this Licence on
behalf of such entity and you represent and warrant that you are legally
entitled to do so, and references to ‘you’ in this Licence shall be construed
accordingly, and to include any person using the Software on behalf of such
entity.

This Licence does not give rise to any rights under the Contracts (Rights of
Third Parties) Act 1999 to enforce any term of this Licence.

If we do not insist immediately that you do anything you are required to do
under these terms, or if we delay in taking steps against you in respect of
your breaking this contract, you agree that it will not mean that you do not
have to do those things and it will not prevent us taking steps against you
and, at our discretion, any such company, academic institution or other
organisation you are acting on behalf of, at a later date.

Each of the paragraphs of these terms operates separately. If any court or
relevant authority decides that any of them are unlawful, the remaining
paragraphs will remain in full force and effect.

No variation to this Licence shall be valid and effective unless made in
writing and signed by all parties.
