Coder Social home page Coder Social logo

stjordanis / qiskit-vscode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qiskit-community/qiskit-vscode

0.0 3.0 0.0 6.74 MB

Simplifying Qiskit to make developing quantum circuits and applications faster

Home Page: https://qiskit.org/vscode

License: Apache License 2.0

JavaScript 0.02% HTML 78.03% Python 0.38% TypeScript 20.43% TeX 0.13% ANTLR 0.95% Pascal 0.06%

qiskit-vscode's Introduction

Qiskit VSCode Extension

status Build Status

Simplifying Qiskit to make developing quantum circuits and applications faster.

A Visual Studio Code extension with support for Qiskit and the OpenQASM language. It provides some useful commands to make easier launching jobs and visualizing results among others.

Qiskit VSCode Extension

Quick start

  1. Open the Extensions sidebar panel in VS Code. Ctrl + Shift (⇧) + X on Windows or Command (⌘) + Shift (⇧) + X on Mac (see Install an extension for more details).
  2. Search for qiskit-extension.
  3. Click Install.
  4. Click Reload.

Now the Qiskit VSCode Extension will be available when coding using OpenQASM and Python (Qiskit) files.

To install the extension from a local file

Download the latest release of the extension from and follow the instructions to install it

Your first program using Qiskit

We encourage you to visit https://qiskit.org/ to explore the different examples, documentation and tutorials.

Feature details

  • Support Qiskit Terra version v0.6.X and v0.7.X.
  • Check necessary dependencies to execute OpenQASM or Qiskit files.
  • Run Qiskit source code in a backend.
  • Run OpenQASM source code in a local backend.
  • Backends (local and remote ones) discovery.
  • Job's execution management.
  • User's credit management.
  • OpenQASM error detection.
  • OpenQASM autocompletion.
  • Qiskit static analysis.
  • Provide pre-defined code snippets for code using Qiskit Terra and Qiskit Aqua

Useful commands

The commands below are supported at the Command Palette (Command (⌘) + Shift (⇧) + P on macOS and Ctrl + Shift (⇧) + P on Windows/Linux).

Command Description
qiskit-vscode: Check Qiskit VSCode Extension dependencies  Check that the required dependencies are properly installed.
qiskit-vscode: Enter your QConfig Allow the user to configure her Qiskit credentials. Please, note that you will need to run this command prior to use Get the status of IBM Q devices, qiskit-vscode: Discover remote backends available, qiskit-vscode: List the user's pending jobs, qiskit-vscode: List the user's executed jobs, qiskit-vscode: Get the queue status and qiskit-vscode: Get the user's available credits or they will fail.
qiskit-vscode: Run this Q code Executes the code at the current editor tab (Qiskit or OpenQASM).
qiskit-vscode: Discover local backends available The local backend available will be presented in a new tab.
qiskit-vscode: Get the status of IBM Q devices The status for remote IBM Q devices available for the current user will be presented in a new tab. This information mixes also data from Discover remote backends available and qiskit-vscode: Get the queue status.
qiskit-vscode: Discover remote backends available The remote backends available for the current user will be presented in a new tab.
qiskit-vscode: List the user's pending jobs A listing of the pending jobs to be executed will be presented in a new tab.
qiskit-vscode: List the user's executed jobs A listing of the previously executed jobs will be presented in a new tab.
qiskit-vscode: Get the queue status The current status of the queues will be presented in a new tab.
qiskit-vscode: Get the user's available credits The current available credits of the user will be presented in a new tab.
qiskit-vscode: Activate the visualizations for the execution of code Activate the automatic visualization of results achieved during the execution of code using the extension.
qiskit-vscode: Deactivate the visualizations for the execution of code Deactivate the automatic visualization of results achieved during the execution of code using the extension (giving the results in text mode).
qiskit-vscode: Activate the display of information related to the boot of the extension Activate the visualization (bubble messages) of information related to the boot of the extension. This information includes the version of dependencies installed, the different checks performed at the activation of the extension, etc.
qiskit-vscode: Deactivate the display of information related to the boot of the extension Deactivate the visualization (bubble messages) of information related to the boot of the extension. It does not deactivate the display of error messages related to dependencies and other checks performed at the boot of the extension

Settings Options

This extension contributes the following variables to the settings:

  • qiskit-vscode.ibmq.token: Qiskit & Q Experience API Token.
  • qiskit-vscode.ibmq.hub: User's Qiskit & Q Experience hub.
  • qiskit-vscode.ibmq.group: User's Qiskit & Q Experience group.
  • qiskit-vscode.ibmq.project: User's Qiskit & Q Experience project.
  • qiskit-vscode.config.visualizationsFlag: Flag to control if visualizations are displayed or not for code executions.
  • qiskit-vscode.config.displayBootInfo: Display info about the extension boot process.

Other variables are contributed, but it is not recommended to change them.

Authors and citation

Qiskit VSCode Extension was initially authored (alphabetically) by Juan Cruz-Benito, Yeray Darias, Ismael Faro, Juan Gómez, and Paco Martín. It continues growing with the help and work of many people who contribute to the project at different levels.

If you use Qiskit, please cite as per the included BibTeX file.

License

This project uses the Apache License Version 2.0 software license.

qiskit-vscode's People

Contributors

abdonrd avatar akashgutha avatar cbjuan avatar jaygambetta avatar jesusprubio avatar ydarias avatar zpbappi avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.