# Discover Boulder Opal workflows for research

> Understand how and when to integrate Boulder Opal into your research: for theorists or experimentalists, new hardware, or established systems

Source: https://docs.q-ctrl.com/boulder-opal/toolkit/discover/adopt/discover-boulder-opal-workflows-for-research

Boulder Opal gives you everything that you need to automate and optimize quantum research and hardware—for quantum computing and quantum sensing.
Our technical team has been using Boulder Opal in collaboration with partners around the world to deliver major gains in hardware performance.
How can you do the same?

The key functional areas are captured in our [Boulder Opal overview](https://docs.q-ctrl.com/boulder-opal/toolkit/discover/adopt/get-an-overview-of-boulder-opals-functionality-and-applications.md) topic, but here you'll learn some very efficient workflows to take advantage of Boulder Opal for hardware projects at various levels of technical maturity.
We know that what works best for a new research team might not be appropriate for a mature system, so we're happy to share insights with you to help you, no matter where you are on your journey (and don't forget to check out our [tutorials](https://docs.q-ctrl.com/boulder-opal.md) to help you get started with Boulder Opal).

## Accelerating theoretical research

Boulder Opal delivers huge value to hardware teams and to theorists as well!
You can take advantage of the most flexible and highest performance numerical package available in the field, delivering solutions orders of magnitude faster than alternative packages.

### 1. Speed up simulations of complex quantum dynamics by >10× 
- [Model your quantum system](https://docs.q-ctrl.com/boulder-opal/toolkit/design/calculate-with-graphs/how-to-represent-quantum-systems-using-graphs.md) using computational graphs.
- Simulate [Hamiltonian](https://docs.q-ctrl.com/boulder-opal/toolkit/design/simulate-quantum-systems/how-to-simulate-closed-noiseless-systems.md) dynamics to understand temporal dynamics.
- Add [noise to the simulation of system evolution](https://docs.q-ctrl.com/boulder-opal/toolkit/design/simulate-quantum-systems/how-to-simulate-quantum-dynamics-subject-to-noise.md).
- Incorporate [open-system dynamics](https://docs.q-ctrl.com/boulder-opal/toolkit/design/simulate-quantum-systems/how-to-simulate-open-system-dynamics.md), and explore efficient techniques for [simulating large open systems](https://docs.q-ctrl.com/boulder-opal/toolkit/design/simulate-quantum-systems/how-to-simulate-large-open-system-dynamics.md).
- Explore [techniques to enhance computational performance](https://docs.q-ctrl.com/boulder-opal/toolkit/design/calculate-with-graphs/improve-calculation-performance-in-graphs.md) for tough simulations.
- Scale simulations to large multidimensional computations or data analyses using [batching and broadcasting](https://docs.q-ctrl.com/boulder-opal/toolkit/design/calculate-with-graphs/understand-batches-and-broadcasting-in-boulder-opal.md) techniques.
- [Integrate QuTiP objects](https://docs.q-ctrl.com/boulder-opal/toolkit/integrate/how-to-use-qutip-operators-in-graphs.md) in use throughout your research into Boulder Opal.
- [Visualize](https://docs.q-ctrl.com/boulder-opal/toolkit/discover/adopt/visualize-data-using-the-q-ctrl-visualizer.md) state evolution or control efficacy.

### 2. Discover the impact of optimal control on multidimensional quantum systems
- [Model your quantum system](https://docs.q-ctrl.com/boulder-opal/toolkit/design/calculate-with-graphs/how-to-represent-quantum-systems-using-graphs.md) using computational graphs.
- Perform a [model-based optimization](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-model-based-controls/how-to-optimize-controls-in-arbitrary-quantum-systems-using-graphs.md) to create controls either [optimal controls](https://docs.q-ctrl.com/boulder-opal/toolkit/discover/adopt/compare-control-design-optimization-strategies-in-boulder-opal.md#optimal-control) or [robust controls](https://docs.q-ctrl.com/boulder-opal/toolkit/discover/adopt/compare-control-design-optimization-strategies-in-boulder-opal.md#robust-control).
- Explore [optimization on nonlinear systems](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-model-based-controls/how-to-optimize-controls-with-nonlinear-dependences.md).
- Obtain [smooth robust controls or subject to band limits](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-model-based-controls/how-to-add-smoothing-and-band-limits-to-optimized-controls.md), or [described as a superposition of basis functions](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-model-based-controls/how-to-optimize-controls-using-arbitrary-basis-functions.md).
- Evaluate control performance in [slowly varying noise environments](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-error-robust-quantum-logic-gates/how-to-evaluate-control-susceptibility-to-quasi-static-noise.md), or under rapidly varying noise with [frequency-domain filter functions](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-model-based-controls/estimate-noise-resilience/how-to-calculate-and-use-filter-functions-for-arbitrary-controls.md).
- [Simulate system evolution](https://docs.q-ctrl.com/boulder-opal/toolkit/design/simulate-quantum-systems/how-to-simulate-closed-noiseless-systems.md) in [realistic noisy environments](https://docs.q-ctrl.com/boulder-opal/toolkit/design/simulate-quantum-systems/how-to-simulate-quantum-dynamics-subject-to-noise.md).
- [Visualize](https://docs.q-ctrl.com/boulder-opal/toolkit/discover/adopt/visualize-data-using-the-q-ctrl-visualizer.md) state evolution or control efficacy.

## Developing new hardware systems
The best time to start integrating advanced quantum control, automation, and characterization tools into your research is before you've wasted time with unstable hardware or heavily manual tasks.
Here are some examples of how Boulder Opal can be deployed to preemptively solve hardware problems:

### 1. Accelerate system builds by automating the tuneup and calibration of classical supporting systems
- Identify systems requiring manual calibration such as RF modulators, PID controllers, or amplifiers.
- Establish appropriate measurement setups such as photodetectors and RF power meters.
- Manually tune them to understand approximate performance bounds for control signals—this can be automated with simple Python scripts.
- Build a [closed-loop optimization](https://docs.q-ctrl.com/boulder-opal/toolkit/automate/automate-closed-loop-optimization/how-to-automate-closed-loop-hardware-optimization.md) routine.
- Execute [automated calibration](https://docs.q-ctrl.com/boulder-opal/toolkit/automate/automate-closed-loop-optimization/how-to-automate-calibration-of-control-hardware.md) or optimization of multiparameter systems.

### 2. Prevent research slowdowns by building in drift robustness from day one 
- Design your quantum device.
- [Model your quantum system](https://docs.q-ctrl.com/boulder-opal/toolkit/design/calculate-with-graphs/how-to-represent-quantum-systems-using-graphs.md) using computational graphs.
- Simulate [Hamiltonian](https://docs.q-ctrl.com/boulder-opal/toolkit/design/simulate-quantum-systems/how-to-simulate-closed-noiseless-systems.md) or [open-system](https://docs.q-ctrl.com/boulder-opal/toolkit/design/simulate-quantum-systems/how-to-simulate-open-system-dynamics.md) dynamics to understand basic operation.
- Simulate the [impacts of adding noise](https://docs.q-ctrl.com/boulder-opal/toolkit/design/simulate-quantum-systems/how-to-simulate-quantum-dynamics-subject-to-noise.md) on various control terms or global sources.
- [Integrate QuTiP objects](https://docs.q-ctrl.com/boulder-opal/toolkit/integrate/how-to-use-qutip-operators-in-graphs.md) in use throughout your research into Boulder Opal.
- Perform a [model-based optimization](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-model-based-controls/how-to-optimize-controls-in-arbitrary-quantum-systems-using-graphs.md) to create controls robust to the [most common sources of drift](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-error-robust-quantum-logic-gates/how-to-create-dephasing-and-amplitude-robust-single-qubit-gates.md).
- Evaluate [control robustness](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-error-robust-quantum-logic-gates/how-to-evaluate-control-susceptibility-to-quasi-static-noise.md).
- Simulate system evolution under optimized controls in noisy environments.
- [Visualize](https://docs.q-ctrl.com/boulder-opal/toolkit/discover/adopt/visualize-data-using-the-q-ctrl-visualizer.md) state evolution or control efficacy.
- Explore the impact of [incorporating realistic constraints](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-model-based-controls/how-to-add-smoothing-and-band-limits-to-optimized-controls.md) on signal bandwidths.

## Upgrading commissioned hardware systems
Once hardware is functional a range of new tasks might emerge—like trying to pinpoint the dominant sources of noise in your system.  Or it might be that you've tried all of the "standard" tricks and now need to move on to fully autonomous control optimization.
Here are some example workflows to get you improving your hardware quickly.

### 1. Identify sources of noise and performance degradation
- Perform [noise spectroscopy](https://docs.q-ctrl.com/boulder-opal/toolkit/design/characterize-hardware/how-to-perform-noise-spectroscopy-on-arbitrary-noise-channels.md) on arbitrary noise channels.
- Characterize [noise in control signals](https://docs.q-ctrl.com/boulder-opal/toolkit/apply/quantum-sensing/perform-narrow-band-magnetic-field-spectroscopy-with-nv-centers.md) used in your experiment.
- Perform [Hamiltonian parameter estimation](https://docs.q-ctrl.com/boulder-opal/toolkit/design/characterize-hardware/how-to-perform-parameter-estimation-with-a-small-amount-of-data.md) to find sources of discrepancy from existing models using the Boulder Opal [system identification](https://docs.q-ctrl.com/boulder-opal/toolkit/design/characterize-hardware/explore-system-identification-techniques-for-quantum-hardware-characterization.md) framework.
- [Simulate system dynamics](https://docs.q-ctrl.com/boulder-opal/toolkit/design/simulate-quantum-systems/how-to-simulate-quantum-dynamics-subject-to-noise.md) with identified noise sources. 

### 2. Improve hardware performance via error-robust quantum control
- Perform a [model-based optimization](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-model-based-controls/how-to-optimize-controls-in-arbitrary-quantum-systems-using-graphs.md) to create controls designed to suppress dominant errors like leakage or [amplitude noise](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-error-robust-quantum-logic-gates/how-to-create-dephasing-and-amplitude-robust-single-qubit-gates.md).
- Characterize [hardware transmission band-limits](https://docs.q-ctrl.com/boulder-opal/toolkit/design/characterize-hardware/how-to-characterize-a-transmission-line-using-a-qubit-as-a-probe.md).
- Incorporate [realistic constraints](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-model-based-controls/how-to-add-smoothing-and-band-limits-to-optimized-controls.md) on signal bandwidths to match hardware constraints.
- Evaluate [control robustness](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-error-robust-quantum-logic-gates/how-to-evaluate-control-susceptibility-to-quasi-static-noise.md).
- [Simulate system evolution](https://docs.q-ctrl.com/boulder-opal/toolkit/design/simulate-quantum-systems/how-to-simulate-quantum-dynamics-subject-to-noise.md) under optimized controls in noisy environments.
- If you identify particularly strong sources of noise, use a [stochastic optimization](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-model-based-controls/how-to-optimize-controls-robust-to-strong-noise-sources.md) routine to design robust controls functional at high noise levels.
- Implement controls by [formatting for hardware](https://docs.q-ctrl.com/boulder-opal/toolkit/integrate/how-to-format-and-export-control-solutions-for-hardware-implementation.md) to enable easy experimental execution.

### 3. Perform closed-loop hardware optimization to maximize performance against unknown sources of noise and error
- [Select a closed-loop control optimization strategy](https://docs.q-ctrl.com/boulder-opal/toolkit/discover/adopt/compare-control-design-optimization-strategies-in-boulder-opal.md#closed-loop-experimental-optimization) most appropriate for your circumstance.
- Establish a [closed-loop optimization](https://docs.q-ctrl.com/boulder-opal/toolkit/automate/automate-closed-loop-optimization/how-to-automate-closed-loop-hardware-optimization.md) tailored to a control on a system with an incomplete model.
- Consider using [basis functions](https://docs.q-ctrl.com/boulder-opal/toolkit/design/design-model-based-controls/how-to-optimize-controls-using-arbitrary-basis-functions.md) for smooth controls (see an example in our [application notes](https://docs.q-ctrl.com/boulder-opal/toolkit/apply/superconducting-systems/demonstrate-su3-gates-on-superconducting-hardware.md)).
- Execute a closed-loop optimization that can learn about hardware imperfections otherwise invisible to an experimentalist.

### 4. Automate manual calibration and tuneup across full systems 
- Identify manual tasks like [RF IQ channel calibration](https://docs.q-ctrl.com/boulder-opal/toolkit/automate/automate-closed-loop-optimization/how-to-automate-calibration-of-control-hardware.md#iq-channel-calibration-formulation-and-objective).
- Build a [closed-loop optimization](https://docs.q-ctrl.com/boulder-opal/toolkit/automate/automate-closed-loop-optimization/how-to-automate-closed-loop-hardware-optimization.md) routine covering multiple multidimensional optimizations in parallel.
- Execute fully autonomous system-wide calibration as a simple script that can be scheduled for your hardware.

If you'd like more inspiration on complete workflows that can help, please have a look at our [application notes](https://docs.q-ctrl.com/boulder-opal/toolkit/apply.md) which capture end-to-end research tasks, or contact our team to discuss achieving your performance gains.
