Quantum Circuit Checkpointing via State Hashing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Simulating quantum circuit execution is a resource- and time-consuming process, especially when dealing with conditional and loop capabilities of QPUs, which can lead to crashes and require extensive re-calculation of simulation states, and there is a lack of automated checkpointing mechanisms to efficiently manage and reuse simulation states across multiple circuits.

Innovation Solution

Implementing an automated or programmatic mechanism to checkpoint the state of quantum circuits during simulation on classical computing hardware, using hashing to store and retrieve state information, allowing for quick restoration and reduction of computation time and storage requirements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If quantum circuit simulations are executed on classical computing hardware, then quantum circuit execution can be simulated without quantum hardware, but the simulation process becomes resource- and time-consuming

Engineering Contradiction:
Improveability to simulate quantum circuitsVSAvoidsimulation execution time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by creating checkpoints of quantum circuit execution states at intervals during simulation. These checkpoints are stored in memory and can be restored if the simulation crashes or needs to be restarted, avoiding the need to re-execute entire circuits and significantly reducing time loss.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates copies of quantum circuit execution states at checkpoint intervals. These state copies are stored in memory and can be quickly restored without re-computation, enabling efficient recovery from crashes and reducing overall simulation time for iterative executions.

Inventive Principle:
Principle #26Copying

2Adaptability or versatility

If quantum circuit simulations are executed with conditional and loop capabilities, then more realistic quantum computing behavior is simulated, but the risk of crashes increases and requires extensive re-calculation

Engineering Contradiction:
Improveconditional and loop capabilitiesVSAvoidsimulation stability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system performs preliminary actions by establishing checkpoints before entering conditional blocks or loops. If a crash occurs during these complex operations, the simulation can restore to the checkpoint state and continue, preventing complete failure and maintaining reliability despite the increased complexity of conditional and loop capabilities.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If simulation states are stored and restored across multiple circuits, then computation time is reduced, but storage requirements increase

Engineering Contradiction:
Improvesimulation execution speedVSAvoidmemory storage requirements
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The system applies partial action by selectively creating checkpoints only at meaningful intervals during circuit execution, rather than continuously. This approach captures sufficient state information to enable recovery and reuse across similar circuits while avoiding excessive memory consumption that would result from storing every intermediate state.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20240160994A1Dynamic checkpoint for simulation
Publication Date: 2024.05.16 DELL PROD LP
  • US20240160994A1 patent drawing
  • US20240160994A1 patent drawing
  • US20240160994A1 patent drawing

AI summary

One example method includes simulating execution of a quantum circuit on a classical computing infrastructure, after one or more times that a gate of the quantum circuit is executed as part of the simulating, creating, after execution of that gate, a hash of a state vector that captures a state of the execution of the quantum circuit, storing the hash, and respective associated data structure, in storage, then as part of a simulated execution process, calculating a hash of each gate across the new quantum circuit, looking up, in the storage, a hash of a state vector associated with execution of one of the gates of the new quantum circuit, and restoring, from storage, the latest hash of the state vector associated with the one gate of the new quantum circuit.