From cd40668c201cb5cf30a720fbbd7c2a4229fd5b6b Mon Sep 17 00:00:00 2001 From: Dmitry Vasilevsky Date: Mon, 27 Feb 2023 13:12:27 -0800 Subject: [PATCH 1/3] Updated doc generation for %estimate --- src/Jupyter/Magic/EstimateMagic.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Jupyter/Magic/EstimateMagic.cs b/src/Jupyter/Magic/EstimateMagic.cs index 987a978215..2ed3562b75 100644 --- a/src/Jupyter/Magic/EstimateMagic.cs +++ b/src/Jupyter/Magic/EstimateMagic.cs @@ -46,6 +46,15 @@ See the [ResourcesEstimator user guide](https://docs.microsoft.com/azure/quantum or function name that has been defined either in the notebook or in a Q# file in the same folder. - Arguments for the Q# operation or function must also be specified as `key=value` pairs. ".Dedent(), + Remarks = @" + [!IMPORTANT] + **QDK warning message**: ""The local Resources Estimator will be removed in March 2023. + The Resources Estimator is now available through Azure Quantum."" + + The %estimate magic command is deprecated. To compute physical and logical resource estimation + and runtime, we recommend using the + [Azure Quantum Resource Estimator](https://learn.microsoft.com/en-us/azure/quantum/intro-to-resource-estimation) tool. + ".Dedent(), Examples = new [] { @" From ab7ef3ecebd691c497f62db82669e408b68c7ea8 Mon Sep 17 00:00:00 2001 From: Dmitry Vasilevsky Date: Mon, 27 Feb 2023 17:03:37 -0800 Subject: [PATCH 2/3] Adjusted doc generated for %estimate --- src/Jupyter/Magic/EstimateMagic.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Jupyter/Magic/EstimateMagic.cs b/src/Jupyter/Magic/EstimateMagic.cs index 2ed3562b75..f57305b244 100644 --- a/src/Jupyter/Magic/EstimateMagic.cs +++ b/src/Jupyter/Magic/EstimateMagic.cs @@ -47,11 +47,10 @@ or function name that has been defined either in the notebook or in a Q# file in - Arguments for the Q# operation or function must also be specified as `key=value` pairs. ".Dedent(), Remarks = @" - [!IMPORTANT] **QDK warning message**: ""The local Resources Estimator will be removed in March 2023. The Resources Estimator is now available through Azure Quantum."" - The %estimate magic command is deprecated. To compute physical and logical resource estimation + The `%estimate` magic command is deprecated. To compute physical and logical resource estimation and runtime, we recommend using the [Azure Quantum Resource Estimator](https://learn.microsoft.com/en-us/azure/quantum/intro-to-resource-estimation) tool. ".Dedent(), From d4a5d56db70ebd5cd493fea1a962b80570692d7d Mon Sep 17 00:00:00 2001 From: Dmitry Vasilevsky Date: Mon, 27 Feb 2023 17:19:11 -0800 Subject: [PATCH 3/3] Adjusted doc generated for %estimate --- src/Jupyter/Magic/EstimateMagic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jupyter/Magic/EstimateMagic.cs b/src/Jupyter/Magic/EstimateMagic.cs index f57305b244..9dde0e43c8 100644 --- a/src/Jupyter/Magic/EstimateMagic.cs +++ b/src/Jupyter/Magic/EstimateMagic.cs @@ -52,7 +52,7 @@ The Resources Estimator is now available through Azure Quantum."" The `%estimate` magic command is deprecated. To compute physical and logical resource estimation and runtime, we recommend using the - [Azure Quantum Resource Estimator](https://learn.microsoft.com/en-us/azure/quantum/intro-to-resource-estimation) tool. + [Azure Quantum Resource Estimator](https://learn.microsoft.com/azure/quantum/intro-to-resource-estimation) tool. ".Dedent(), Examples = new [] {