Giter Club home page Giter Club logo

qbraid-lab-demo's Introduction

qBraid Lab Demos

qBraid is a cloud-based platform for quantum computing.

This repository provides demos and tutorials on using the qBraid SDK, qBraid CLI, and qBraid Lab features including Quantum Jobs, and GPUs.

For more resources and reference material, see qBraid Docs.

qbraid-lab-demo's People

Contributors

0sophy1 avatar kanavsetia avatar kenny-heitritter avatar pranavkakhandiki avatar rryoung98 avatar ryanhill1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

qbraid-lab-demo's Issues

SDK / quantum jobs show submitting to IonQ Harmony

@pranavkakhandiki

Unitary Hack PR qBraid/qBraid#257 from issue qBraid/qBraid#233 added ability to compile a Braket / Pytket circuit to run on IonQ Harmony device through qbraid.devices.AwsDeviceWrapper.run method via _compat_run_input via braket_ionq_compilation.

Want to create demo notebook that shows a useful example of doing this. Should use qbraid.get_devices to get device ID, and show qbraid.get_jobs` at the end, and how to retrieve and print results.

Added bonus to include qBraid Lab features as part of workflow e.g. :

Feel free to use anything from amazon braket examples or docs as reference if useful

qBraid-SDK Qiskit algo--> AWS device demo

@pranavkakhandiki

We would like to create a new demo notebook that shows how you can write an algorithm in Qiskit and execute it on an AWS device using the qBraid-SDK.

The qiskit-braket-provider tutorials directory contains some notebooks that are of a similar idea. I would say you could work directly off of one of these, but a key factor in this issue is that many of the built-in qiskit.algorithms libraries use custom gates which are not supported by the qBraid-SDK transpiler. So the best approach could be to find an algorithm that is of a small enough size / scope that it can re-written using qiskit standard gates.

Once you have a qiskit algorithm written, the first litmus test is to attempt to transpile it to braket (see sdk transpiler docs), e.g.

from qbraid import circuit_wrapper
from qiskit import QuantumCircuit()

qiskit_circuit = QuantumCircuit(...)
braket_circuit = circuit_wrapper(qiskit_circuit).transpile.("braket")

if that works, then you are almost done. The last step is to use the device wrapper to submit the algo circuit as a quantum job to an AWS device e.g. Braket SV1 (see sdk devices docs). If you have your own AWS credentials, you can do this all locally. If not, you can use the qBraid-SDK environment on qBraid Lab with Quantum Jobs enabled. See install environment docs and quantum jobs docs / sdk quantum jobs demo notebook

SDK IBM batch jobs + qBraid Lab integration

@pranavkakhandiki

From Unitary Hack PR qBraid/qBraid#246 from issue qBraid/qBraid#231, SDK now supports submitting batch jobs (multiple circuits at once) to IBM devices, see qbraid.IBMBackendWrapper.run_batch()

Will want to create demo notebook that shows an example of doing this, and also that highlights the batch jobs integration with a picture or gif of the qBraid devices sidebar (see circuitBatch field at bottom of image on right).

qBraid Lab does not currently support IBM quantum jobs, so will need to use your own IBM credentials to submit to these devices.

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.