Skip to content

Queso

Variational methods for programmable quantum sensors

GitHub Workflow Status docs.rs Code style: black versions

Note

Welcome to Queso - a design toolbox for variational quantum sensing protocols. This documentation is still under development, so expect major changes. © Benjamin MacLellan, 2023

What does it do?

Queso is a toolbox for designing, simulating, and benchmarking variational quantum sensing protocols.

GraphiQ

Basic usage:

import jax
import jax.numpy as jnp
from queso.sensors import Sensor
from queso.estimators import BayesianDNNEstimator

sensor = Sensor(n=4, k=4)

theta, phi, mu = sensor.theta, sensor.phi, sensor.mu
sensor.qfi(theta, phi)
sensor.cfi(theta, phi, mu)
sensor.state(theta, phi, mu)

data = sensor.sample(theta, phi, mu, n_shots=10)

estimator = BayesianDNNEstimator()
posterior = estimator(data)

Install

pip install git+https://github.com/benjimaclellan/queso.git

Note

Official pip wheel is in the works.