Published
Edited
Jun 6, 2021
1 star
Insert cell
Insert cell
import {qviz, render} from '@anpaz/quantum'
Insert cell
Insert cell
Insert cell
{
const circuit = {
qubits: [{ id: 0 }, { id: 1 }],
operations: [
{ gate: 'Prepare', targets: [{ qId: 0 }, { qId: 1 }] },
{ gate: 'H', targets: [{ qId: 0 }] },
{ gate: 'X', isControlled: true, controls: [{ qId: 0 }], targets: [{ qId: 1 }] },
],
};
return render(circuit);
}
Insert cell
Insert cell
import {entangle, teleport, grover} from '@anpaz/quantum'
Insert cell
entangle
Insert cell
teleport
Insert cell
grover
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more