Running Circuits
We provide the following tools for running circuits on simulators and hardware:
- Compilation to a native gateset
- The - Compilerenables the user to re-express a circuit in terms of operations native to a given device and is covered in the Compilation Tools section.
 
- Simulation
- Our built-in - Simulatorallows users to easily run simulations of circuits with built-in or customizable noise models. A simulator with a specified noise model can be initialized once and used to run any circuit thereafter.- Example: Introduction to the Simulator
- Walks through the basic functionality of the - Simulator
 
- Example: Advanced Simulator Usage
- Gives an overview about basic and advanced options for adding noise sources for the - Simulatorand different simulation backends.
 
- Example: State Preparation and Measurement Noise
- Demonstrates how to add State and Measurement (SPAM) noise to the - Simulator.
 
- Example: Simulating Leakage
- Shows how the simulator can be used to simulate leakage into undesired engergy levels. 
 
- Example: Writing Custom Noise Sources
- Shows how to implement custom noise models for the - Simulator.
 
- Example: Emulating a device from measured error profiles
- When combined with True-Q™’s Error Diagnostics tools, the - Simulatorcan be used to emulate a device using its measured error profile, as this example demonstrates.
 
 
 
- Conversion to a different language
- We provide tools that allow users to easily convert their circuits to and from True-Q™ into Qiskit, Cirq, and pyQuil, as shown in the Compilation Tools section. 
 
- Batching and submitting circuits to a backend
- True-Q™ offers batching tools that allow users to break jobs into batches of a fixed size for submission. Additionally, when working with a Qiskit backend, our - Executorallows users to run experiments on any of that hardware. This tool includes automated batching, job submission, pausing/resuming, and saving results to disk.- Example: Circuit Batching
- Shows how to use the - batch()to group a- CircuitCollectioninto numbered batches of arbitrary sizes.
 
- Example: Running Jobs on Qiskit Backends
- Shows how to run circuits on an IBM backend using the - Executor.