Published
Edited
May 10, 2020
1 star
Insert cell
Insert cell
Insert cell
Insert cell
BlochSphere()
Insert cell
Insert cell
import {BlochSphere as test} with
{
test_theta as theta,
test_phi as phi,
test_camera_theta as camera_theta,
test_camera_phi as camera_phi,
test_angle_lines as angleLinesActive,
test_coordinate_lines as coordinateLinesActive
}
from "@flimsyhat/bloch-sphere"
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
test()
Insert cell
Insert cell
Insert cell
Insert cell
theta = Math.PI/4.0
Insert cell
phi = Math.PI/4.0
Insert cell
Insert cell
coordinateLinesActive = true
Insert cell
angleLinesActive = true
Insert cell
axisLabelsActive = false
Insert cell
verticalSphereLinesActive = false
Insert cell
horizontalSphereLineActive = true
Insert cell
projectionLineActive = false
Insert cell
sphereOutlineActive = true
Insert cell
Insert cell
max_width = 400
Insert cell
Insert cell
camera_theta = Math.PI/4
Insert cell
camera_phi = Math.PI/4
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more