Dynamics Simulator by Q-CTRL Fire Opal
See the API reference
IBM Quantum® Functions are a beta feature available only to IBM Quantum Premium Plan, Flex Plan, and On-Prem (through the IBM Quantum Platform API) Plan users. Beta features are subject to change.
Overview
The Q-CTRL Dynamics Simulator is an application quantum function for simulating the time evolution of supported quantum many-body models on IBM Quantum hardware. Instead of constructing quantum circuits yourself, you specify the physical model, the initial state, the time-evolution parameters, and the observables to measure.
The function constructs and executes the required dynamic circuits and applies Fire Opal's hardware-aware optimization and error suppression workflow. The result is a time trace of expectation values for the observables you requested. Because the function applies error suppression automatically, you can run circuits at record depths and still see meaningful signals. The Dynamics Simulator delivers solution accuracy that matches the existing state-of-the-art classical tools and gives a demonstrable advantage in speed.
Real-world testing achieved agreement within 1% root mean square error (RMSE) when compared against the highest-resolution classical tensor-network simulations. Independent tests from the research community have validated that the quantum computer remains accurate even beyond Q-CTRL's initial demonstrations.
Benchmarks
The number of sites determines how many qubits are needed, while the number of Trotter steps controls the depth of the time-evolution circuits. Each lattice site uses two qubits to represent the spin-up and spin-down occupations.
This workflow has been demonstrated for chains of 60 sites (120 qubits) with 30 Trotter steps, and for chains of 31 sites (62 qubits) with 90 Trotter steps. The table below shows the circuit resources and QPU execution times from the reported experiments, performed on IBM® Heron r3 (ibm_boston) device with 20,000 shots per circuit.
System size | Trotter steps | Two-qubit depth | Two-qubit gate count | QPU time | QPU time with REM + DR |
|---|---|---|---|---|---|
| 10 sites (20 qubits) | 30 | 152 | 1,457 | 2m 46s | 4m 25s |
| 10 sites (20 qubits) | 60 | 302 | 2,897 | 5m 36s | 8m 42s |
| 10 sites (20 qubits) | 90 | 452 | 4,337 | 8m 46s | 13m 26s |
| 31 sites (62 qubits) | 30 | 152 | 4,649 | 2m 46s | 4m 25s |
| 31 sites (62 qubits) | 60 | 302 | 9,239 | 5m 36s | 8m 42s |
| 31 sites (62 qubits) | 90 | 452 | 13,829 | 8m 46s | 13m 26s |
| 60 sites (120 qubits) | 30 | 152 | 9,057 | 2m 46s | 4m 25s |
For a fixed number of Trotter steps, the reported circuit depth and QPU time remain the same across the tested system sizes, while the two-qubit gate count increases. Increasing the number of steps produces deeper circuits and requires more QPU time.
Here, QPU time is the cumulative hardware execution time for the main simulation circuits. The last column also includes the QPU time for noise characterization used in readout error mitigation (REM) and decay recovery (DR).
Description
Quantum dynamics describes how a quantum system changes over time. Studying this evolution helps you understand how particles move, how correlations develop, and how a system responds to a change in its state or Hamiltonian.
The Fermi-Hubbard model describes fermions moving between lattice sites and interacting when they occupy the same site. The competition between hopping and interactions makes it a useful model for studying strongly correlated electrons. Its time evolution can reveal how spin and charge propagate, and how an initially ordered system relaxes.
Model
The Dynamics Simulator supports a one-dimensional Fermi-Hubbard chain with open boundaries. For a chain of sites, the Hamiltonian is defined as follows:
Here, and create and annihilate a fermion with spin at site . The number operator measures the occupation of that spin orbital.
The model inputs specify the following coefficients:
hopping_amplitude: , which controls hopping between neighboring sites and .on_site_interaction: , the interaction between spin-up and spin-down fermions occupying the same site.chemical_potential: , the local chemical potential, which enters the Hamiltonian with a minus sign.
Supply a scalar to use the same coefficient throughout the chain, or a list to specify coefficients for individual bonds or sites.
In units where , the initial state evolves as follows:
The function estimates the expectation values of the observables you specify at successive simulation times.
Workflow
The function's workflow consists of the following steps:
- Algorithmic synthesis: The function uses the Hamiltonian and simulation time settings to construct an optimized Trotter-Suzuki sequence, which reduces circuit depth while accounting for simulation accuracy.
- Hardware-aware mapping: The function maps and routes the circuits by using the qubit connectivity and error characteristics of the selected IBM Quantum backend.
- Physical-layer error suppression: Fire Opal incorporates dynamical decoupling and pulse-level corrections to suppress noise from the environment and crosstalk during hardware execution.
The function manages these stages automatically and returns the expectation values of the requested observables over time.
You define the physical problem and simulation settings through the function inputs. The current interface supports Trotter time evolution, where time_step sets the duration of each step and step_count sets the number of steps.
To access results from previous runs, see how to retrieve previous quantum function jobs.
For additional details, see the Fire Opal dynamics simulator overview and the simulate_dynamics API reference.
Get support
For questions about the Dynamics Simulator or Fire Opal behavior, see the Q-CTRL documentation or contact Q-CTRL.
For quantum function authentication, job management, or IBM Quantum Platform access, see the quantum functions documentation.
Next steps
- Run your first workload with the get started guide.
- Review the functions overview, which includes cost per execution.
- Understand resource units (RUs).
- Review the IBM Quantum Platform plans.
- Read the Fire Opal dynamics simulator overview for more detail about Trotterization, hardware-aware mapping, and Fire Opal error suppression.