All Projects → Quantum-Flytrap → bra-ket-vue

Quantum-Flytrap / bra-ket-vue

Licence: other
⟨𝜑|𝜓⟩.vue - a Vue-based visualization of quantum states and operations

Programming Languages

Vue
7211 projects
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to bra-ket-vue

mathcore
Advanced .NET math library (.NET Standard).
Stars: ✭ 24 (-14.29%)
Mutual labels:  matrices, complex-numbers
Calc
C-style arbitrary precision calculator
Stars: ✭ 127 (+353.57%)
Mutual labels:  matrices, complex-numbers
Mathjs
An extensive math library for JavaScript and Node.js
Stars: ✭ 11,861 (+42260.71%)
Mutual labels:  matrices, complex-numbers
Q
Quantum Computation Simulator written in golang
Stars: ✭ 99 (+253.57%)
Mutual labels:  quantum
Qmlt
The Quantum Machine Learning Toolbox (QMLT) is a Strawberry Fields application that simplifies the optimization of variational quantum circuits (also known as parametrized quantum circuits).
Stars: ✭ 106 (+278.57%)
Mutual labels:  quantum
Quantum Circuit
Quantum Circuit Simulator implemented in JavaScript
Stars: ✭ 157 (+460.71%)
Mutual labels:  quantum
cplot
Function plotter
Stars: ✭ 27 (-3.57%)
Mutual labels:  complex-numbers
Tbtk
A C++ library for solving second-quantized Hamiltonians
Stars: ✭ 89 (+217.86%)
Mutual labels:  quantum
Quantum Neural Networks
This repository contains the source code used to produce the results presented in the paper "Continuous-variable quantum neural networks". Due to subsequent interface upgrades, these scripts will work only with Strawberry Fields version <= 0.10.0.
Stars: ✭ 207 (+639.29%)
Mutual labels:  quantum
Quantum Core
⌚ Cron-like job scheduler for Elixir
Stars: ✭ 1,905 (+6703.57%)
Mutual labels:  quantum
Awesome Quantum Machine Learning
Here you can get all the Quantum Machine learning Basics, Algorithms ,Study Materials ,Projects and the descriptions of the projects around the web
Stars: ✭ 1,940 (+6828.57%)
Mutual labels:  quantum
Enterprise
🦄 The Enterprise™ programming language
Stars: ✭ 1,493 (+5232.14%)
Mutual labels:  quantum
Q.js
Quantum computing in your browser.
Stars: ✭ 158 (+464.29%)
Mutual labels:  quantum
Awesome Quantum Computing
A curated list of awesome quantum computing learning and developing resources.
Stars: ✭ 1,350 (+4721.43%)
Mutual labels:  quantum
berkeley-parser-analyser
A tool for classifying mistakes in the output of parsers
Stars: ✭ 34 (+21.43%)
Mutual labels:  visualizer
Awesome Low Code
Awesome Low-Code Application Platforms | 全球低代码平台开发资源大全
Stars: ✭ 90 (+221.43%)
Mutual labels:  quantum
Qsharp Runtime
Runtime components for Q#
Stars: ✭ 180 (+542.86%)
Mutual labels:  quantum
Qpanda 2
QPanda 2 is an open source quantum computing framework developed by OriginQC that can be used to build, run, and optimize quantum algorithms.
Stars: ✭ 128 (+357.14%)
Mutual labels:  quantum
Quantum Nc
Microsoft Quantum Computing Libraries for noncommercial use
Stars: ✭ 126 (+350%)
Mutual labels:  quantum
Learnquantum
Repo of resources to help learn about quantum computing.
Stars: ✭ 143 (+410.71%)
Mutual labels:  quantum

bra-ket-vue / ⟨𝜑|𝜓⟩.vue

npm version License Build Twitter @QuantumFlytrap

An interactive visualizer for quantum states and matrices.

For more details, see our preprint:

Unitary Fund

Examples

Here are examples in the dark style. All components are available in two styles: dark and bright. By default we use the dark style. Each vector is a Vector object from Quantum Tensors, and each operator is an Operator object.

States (vectors)

Ket list for quantum computing

Ket list for quantum optics

<ket-viewer :vector="vector" :dark-mode="true" />

Ket

Operators (matrices)

<matrix-viewer :operator="operator" :dark-mode="true" />

Matrix - beam-splitter

Matrix - CNOT gate

Matrix - Toffoli gate

Installation

For a node project use:

npm install bra-ket-vue

or for yarn:

yarn add bra-ket-vue

For browser HTML files, put in <head>...</head>:

<script src="https://www.unpkg.com/vue@3"></script>
<script src="https://unpkg.com/quantum-tensors"></script>
<script src="https://unpkg.com/bra-ket-vue"></script>

Or if you want to stick to specific versions

<script src="https://www.unpkg.com/[email protected]/dist/vue.global.prod.js"></script>
<script src="https://unpkg.com/[email protected]/dist/quantum-tensors.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/bra-ket-vue.min.js"></script>

Note: up to 0.3.1 it used Vue 2. Starting from 0.4.0, BraKetVue uses Vue 3.

Code examples

Folder examples contains two examples: a plain HTML file and a Vue 3 project.

And interactive version of the Vue 3 demo: https://codesandbox.io/s/braketvue-f2rgub.

The easiest one to create a single visualization is to use JSFiddle (see this example) and embed it.

Notes

This repo was created using a script vue-sfc-rollup (a Vue component library generator, for JavaScript and TypeScript).

Citing

@article{migdal_visualizing_2022,
	title = {Visualizing quantum mechanics in an interactive simulation -- {Virtual} {Lab} by {Quantum} {Flytrap}},
	url = {http://arxiv.org/abs/2203.13300},
	journal = {arXiv:2203.13300 [quant-ph]},
	author = {Migdał, Piotr and Jankiewicz, Klementyna and Grabarz, Paweł and Decaroli, Chiara and Cochin, Philippe},
	month = mar,
	year = {2022},
	note = {arXiv: 2203.13300}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].