Skip to main content

Samples and Documentation

  1. python interop: problem setting up conda env

    Hi All,
    trying to setup an env via conda as described, fails:

    Downloading and Extracting Packages
    qsharp-0.3.1811.203 | 51.0 MB | ########################################################################8 | 75%

    [Errno 2] No such file or directory: 'C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Anaconda3-5.2.0-Windows-x86_64\\pkgs\\qsharp-0.3.1811.203-preview_py3.6\\info\\recipe\\packages\\Microsoft.Quantum.Development.Kit.0.3.1811.203-preview\\lib\\netstandard2.0\\Microsoft.Quantum.Simulation.Simulators.deps.json'

    1 vote
    Sign in Sign in with Microsoft - Quantum Computing
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  2. Export as PDF

    http://docs.microsoft.com supports export as PDF on some pages (below the TOC on the left). It'd be great to enable this option for the (very good) Quantum documentation to make offline study and printing easier.

    8 votes
    Sign in Sign in with Microsoft - Quantum Computing
    Signed in as (Sign out)

    We’ll send you updates on this idea

    6 comments  ·  Flag idea as inappropriate…  ·  Admin →
  3. Sample for Max-Cut and/or Traveling Salesman Problem

    Please show how to implement VQE to solve this kind of problem in Q#.

    1 vote
    Sign in Sign in with Microsoft - Quantum Computing
    Signed in as (Sign out)

    We’ll send you updates on this idea

    5 comments  ·  Flag idea as inappropriate…  ·  Admin →
  4. Help understanding and extending the Microsoft.Quantum.Samples.DatabaseSearch sample

    I have been looking at our Microsoft.Quantum.Samples.DatabaseSearch Q# sample to understand our implementation of Grover’s algorithm but I have to admit it’s trickier than I thought following all of the Q# and understanding the output and what it means by probability. For example in the output below:

    Classical random search for marked element in database.
    Database size: 8.
    Success probability: 0.125

    Attempt 99. Success: Zero, Probability: 0.12 Found database index Zero, One, Zero
    Attempt 199. Success: One, Probability: 0.085 Found database index One, One, One
    Attempt 299. Success: Zero, Probability: 0.11 Found database index Zero, Zero, On

    • Why is…

    1 vote
    Sign in Sign in with Microsoft - Quantum Computing
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  5. H2SimulationGUI displays big “peaks” sometimes

    Hello,

    Sometimes H2SimulationGUI displays rather big errors of energy values for some bond lengths. Most often instead of value around -1 for bonds > 1 it may be something near -0.4 (“peaks”) , but “pit” may appears rarely for smaller bond values.

    It also happens for H2SimulationCmdLine, but GUI makes that simply to find. I mentioned that first with previous version 1802 of Q# (13 June, I did not run GUI before). The new version 1806 has the same problem.

    I found, that the simulation most likely works without error just after first “dotnet run” (e.g. after computer reboot). I…

    1 vote
    Sign in Sign in with Microsoft - Quantum Computing
    Signed in as (Sign out)

    We’ll send you updates on this idea

    under review  ·  2 comments  ·  Flag idea as inappropriate…  ·  Admin →
  6. Error in DumpMachine to console documentation.

    On the documentation page of 'DumpMachine' (https://docs.microsoft.com/en-us/qsharp/api/prelude/microsoft.quantum.extensions.diagnostics.dumpmachine?view=qsharp-preview), it says 'providing an empty location (()) typically means to generate the output to the console.'.

    I think it should say 'providing an empty location ("") typically means to generate the output to the console.', as currently (on TIO.run and my machine) providing an empty string leads to console output and providing an empty tuple writes to a file named '()'.

    The same problem is also present in the 'DumpRegister' documentation.

    1 vote
    Sign in Sign in with Microsoft - Quantum Computing
    Signed in as (Sign out)

    We’ll send you updates on this idea

    planned  ·  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Samples and Documentation

Feedback and Knowledge Base