microsoft/qdk

Public

mirrored from https://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
iadavis/qdk_openqasm_parser

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

source/pip/qsharp/code/__init__.py

12lines · modecode

1# Copyright (c) Microsoft Corporation.
2# Licensed under the MIT License.
3
4"""Deprecated. Use :mod:`qdk.code` instead."""
5
6import sys
7import qdk.code as _real_code
8
9# This module replaces itself in :mod:`sys.modules` with the real :mod:`qdk.code`
10# module so that dynamically generated Q# callables stay in sync between the two
11# import paths.
12sys.modules[__name__] = _real_code
13