GithubHelp home page GithubHelp logo

qiskit / qiskit.org Goto Github PK

View Code? Open in Web Editor NEW
102.0 26.0 108.0 464.71 MB

The Qiskit official website

Home Page: https://qiskit.org

License: Apache License 2.0

HTML 0.02% JavaScript 0.23% Shell 0.18% Vue 46.17% TypeScript 50.56% SCSS 2.71% Dockerfile 0.13%
quantum-computing

qiskit.org's Introduction

Important

This repository is unmaintained and the content in qiskit.org has been superseded by the IBM Quantum | Community page. These source files are no longer maintained and may contain omissions or outdated information. Contributions to this repo are no longer accepted.


Qiskit

Welcome to Qiskit.org

Qiskit is an open-source quantum computing software development framework for leveraging today's quantum processors in research, education, and business.

Qiskit.org is released under the Apache 2.0 License. Current GitHub Action build status. PRs welcome! Follow @qiskit


Table of Contents


🚀 Get Up and Running

  1. Download this repository and go to its folder

    git clone [email protected]:Qiskit/qiskit.org.git && cd qiskit.org
  2. Install dependencies

     npm install
  3. Create an .env file

cp .env.example .env
  1. Run a local server with hot reload at localhost:3000

    npm run dev

💻 Technology Used

Qiskit.org is a static website generated using Nuxt.

We create and run tests using Vitest, avoid syntax errors using ESLint and Stylelint, and automate code integration and deployment using GitHub Actions.


🏭 Content Generation

Qiskit.org integrates with the tools used by the IBM Quantum Community Team to generate content based on 3rd party APIs such as Airtable. Part of this content is prefetched during building time.

During local development, mock data is generated by default but fetching real data from Airtable is possible. If you need to do this, please ask a core maintainer for the AIRTABLE_ACCESS_TOKEN, or generate your own if you have an Airtable account with access to the required bases. Once you have the Airtable access token, change these environment variables in your .env file:

  • AIRTABLE_ACCESS_TOKEN=<Airtable access token>
  • GENERATE_CONTENT=true
  • MOCK_CONTENT=false

Then you can run the local server as usual and the content will be fetched at the beginning:

npm run dev

🥸 Mocking content

If you don't have access to the Airtable data or you don't need to fetch it, mock data can be generated by setting the environment variable MOCK_CONTENT to true in your .env file. This is set by default after you generate your .env file from .env.example.

The project has a default mocked content under the hooks/mock/content folder. If you want your own custom mocked content, you can create a new folder and set it as your mocked content folder using the environment variable MOCK_BASE_PATH which should be an absolute path of your system.


🏷️ Naming Conventions

Nuxt Components

When working with files in the components/ directory, please adhere to the following naming conventions:

  • Component files and directories should be named using PascalCase.
  • Always use multi-word names.
  • Simplify component names where possible, for example, EventsItemCard can be named EventsCard.
  • Group related components in folders when more than one component refers to the same concept.
  • When naming the component .vue files, include the whole path to make it easier to locate the components.
  • Generic components that can be reused across multiple pages should be placed in the components/Ui/ directory.
  • Components specific to a page should be placed in their respective directory, such as components/Events/ for events-specific components.
  • Avoid appending "Section" to component names, as it is usually implied that the component represents a section of the page.

✏️ How to Contribute

Contributions are always welcomed, no matter how large or small. Before contributing, please read the contributing guide and code of conduct.



🔗 Connect with Qiskit

qiskit.org's People

Contributors

1ucian0 avatar abdonrd avatar asierarranz avatar carlosazaustre avatar delapuente avatar dependabot[bot] avatar diego-plan9 avatar eddybrando avatar francabrera avatar frankharkins avatar hushaohan avatar ismaelfaro avatar javabster avatar jaygambetta avatar justjosie avatar kallieferguson avatar korgan00 avatar lerongil avatar mariacloehb avatar marinaaisa avatar memolina2323 avatar mtreinish avatar nonhermitian avatar paaragon avatar sooluthomas avatar tansito avatar techtolentino avatar tonimc avatar vabarbosa avatar y4izus 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qiskit.org's Issues

Update AQUAChemistry to AquaChemistry after v0.2.1

Reference: #42 (review)

from qiskit_aqua_chemistry import AQUAChemistry
aqua_chemistry_dict = {
"driver": { "name": "PYSCF" },
"PYSCF": { "atom": "", "basis": "sto3g" },
"operator": {
"name": "hamiltonian",
"qubit_mapping": "parity",
"two_qubit_reduction": True,
"freeze_core": True,
"orbital_reduction": [-3, -2]
},
"algorithm": { "name": "VQE" },
"optimizer": { "name": "COBYLA", "maxiter": 10000 },
"variational_form": { "name": "UCCSD" },
"initial_state": { "name": "HartreeFock" }
}
molecule = "H .0 .0 -{0}; Li .0 .0 {0}"
pts = [x * 0.1 for x in range(6, 20)]
pts += [x * 0.25 for x in range(8, 16)]
pts += [4.0]
energies = np.empty(len(pts))
distances = np.empty(len(pts))
dipoles = np.empty(len(pts))
for i, d in enumerate(pts):
aqua_chemistry_dict["PYSCF"]["atom"] = molecule.format(d/2)
solver = AQUAChemistry()

improve Ignis example style

Remove extra spaces in the example line:

from qiskit.ignis.verification.randomized_benchmarking import randomized_benchmarking_seq, RBFitter

image

Pull chemisty out of aqua

Can we make it so that the chemistry is a tab at the top.

Think of it as Qiskit | elements | components | tutorial | documentation | tools | fun.

The elements are terra, aer, aqua, ignis. I would make this a pull down
The components are chemistry, providers, (more to come).

The tools are (vscode, gui)
So in the tools i think we need submenus for vscode, chemistry gui, ...

Where can I find key for qiskit quantum gates?

the only gates I saw in youtube are Hadamart and CNOT
when:
q = QuantumRegister(2)
c = ClassicalRegister(2)
qc = QuantumCircuit(q,c)
#hadamart
qc.h(q[0])
#CNOT
qc.cx(q[0],q[1])

I want to know how to write the gate U3=U3(theta,lambada,gama) in qiskit language
but I only find it on the Internet in Qasm language as: u3(theta,lambada,gama) iv`e tried it on qiskit but there is always error messege when I try to run the program.

quickstart code fails on Windows

The example at https://www.qiskit.org/documentation/quickstart.html fails on Windows when trying to run on a local simulator. The issue appears to be related to how Windows handles multi-threading. I believe that putting the example code in a "if __name__ == 'main':" block would fix the problem for Windows users and would not hurt anyone running on other platforms. See further discussion at https://quantumexperience.ng.bluemix.net/qx/community/question?questionId=7569682980de4584ede629693e74ada8

put citation format on website

@abdonrod can you please put a section under "Don't know quantum circuits" and name it "Citation". Then write a sentence:

"If you use Qiskit, please cite it as per the included BibTeX file." And that link should open the bibtex entry in plaintext.

--

Remove the tutorial link

image

Can we remove the tutorial link in all elements? I think that it is not clear that these all link to the tutorials.

Documentation link

Currently, when you press the documentation link in the head menu, open a new windows/tab.

We need to open in same page/tab.

Qiskit main page directs to "qiskit" search results rather than the "qiskit" tag on Stack Exchange

Hi, I'm a site moderator at Quantum Computing Stack Exchange. Is there any specific reason why the "Stack Exchange" link on the Qiskit main page directs to the "qiskit" search results page rather than the "qiskit" tag page? Note that the tag page is much more helpful for keeping track of the latest Qiskit questions on Quantum Computing SE. I personally maintain the tag, and it's very unlikely that any Qiskit-based question will be skipped there. Also, tags are extremely useful for search purposes cf. QCSE: How do I search?.

I've asked about this on the Qiskit Slack channel earlier; Ali Javadi replied that this indeed should be updated and that I should raise it as an issue here. I hope this will be fixed. Thanks!

Add Community Tab on header

Create a Community tab on qiskit.org to hold items from all our community related initiatives (qiskit camp, contribution guidelines, roadmap, community groups, etc.)

Documentation link router bug

When we do click on documentation link and we go back using the browser back button, the url on the navigation bar is changed but is not redirect to the previous url.

Host Qiskit schemas on website

A major part of the 0.6 release will be defining and implementing a set of json schema. Can we host the schemas on qiskit.org/schemas, so that the backends and anyone else who needs to validate against them has a canonical place to read them from? Each schema has, at the top of it, the address where it will be hosted:
https://github.com/Qiskit/qiskit-terra/tree/master/qiskit/schemas

Some issues:

  • The schemas may change in Qiskit-Terra master. Can the website pull the latest one when they change?
  • Can we host previous versions as well?

Add Github button and Install section for Aqua GUI

As Aqua's GUI has been extracted out as a separate repo/package, the GUI section of the Aqua page likely needs the following two elements:

  • A Github button pointing to https://github.com/Qiskit/qiskit-aqua-interfaces

  • An Install section for pip install qiskit-aqua-interfaces

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.