Quantum Scheduler with Sub-Quantum Thread Synchronization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional quantum schedulers struggle with inefficient component synchronization and indeterministic execution order, leading to performance degradation and time approximation errors in simulating parallel execution of software on hardware components.

Innovation Solution

A quantum-based scheduler that monitors thread activity at a sub-quantum level, allowing efficient component synchronization and cycle performance approximation by tracking active threads and adjusting quantum grants based on thread status, avoiding active waiting and skipping.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional quantum schedulers are used to simulate parallel execution, then simulation capability is provided, but component synchronization becomes inefficient and execution order becomes indeterministic

Engineering Contradiction:
Improvesynchronization efficiencyVSAvoidsimulation performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The scheduler implements feedback mechanisms where threads signal waiting status and event occurrences back to the scheduler. The scheduler uses this feedback to dynamically adjust quantum grants and manage thread states, ensuring efficient synchronization and deterministic execution order while maintaining simulation accuracy.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system dynamically adjusts quantum time grants based on thread activity and waiting status. The scheduler monitors which threads are active and which are waiting for events, then allocates quantum time accordingly, making the simulation both efficient and adaptable to varying execution conditions.

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If conventional quantum schedulers grant fixed quantum time, then simple scheduling is achieved, but time approximation errors occur and performance degrades

Engineering Contradiction:
Improvetime approximation accuracyVSAvoidscheduler complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The scheduler dynamically adjusts quantum time grants based on monitored thread activity and waiting status. Instead of fixed quantum time, the system adapts quantum lengths to match actual execution needs, improving time approximation accuracy without excessive complexity.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

Threads provide feedback on their execution status and waiting conditions to the scheduler. This feedback loop enables the scheduler to accurately track elapsed time and adjust quantum grants accordingly, maintaining precise time approximation while managing complexity through structured information flow.

Inventive Principle:
Principle #23Feedback

3Productivity

If threads wait for quantum grants continuously, then resource utilization is maximized, but active waiting causes performance degradation

Engineering Contradiction:
Improveresource utilizationVSAvoidwaiting time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The scheduler dynamically manages quantum grants based on which threads are actively executing versus waiting for events. Active threads receive quantum time to maximize resource utilization, while waiting threads are appropriately managed without causing performance degradation through continuous polling or spinning.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

Threads autonomously signal their waiting status and event occurrences to the scheduler. This self-service mechanism eliminates the need for continuous scheduler intervention or thread spinning, reducing wasted waiting time while maintaining efficient resource allocation to active threads.

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP4645082A1Efficient multithreaded quantum-based scheduler with time simulation
Publication Date: 2025.11.05 MICROSOFT TECHNOLOGY LICENSING LLC
  • EP4645082A1 patent drawingFigure 1
  • EP4645082A1 patent drawingFigure 2
  • EP4645082A1 patent drawingFigure 3

AI summary

Systems and methods are provided for implementing efficient multithreaded quantum-based scheduler with time simulation. In response to a virtual platform simulator using a quantum-based scheduler to grant a first quantum of time to each of a plurality of simulated threads during a simulation session, each simulated thread reports its waiting status (e.g., waiting for additional quantum grants of time or waiting for an event signal from another simulated thread) to the quantum-based scheduler, at a sub-quantum level. The quantum-based scheduler is thus kept updated on a sub-quantum level, and thus is able to keep a sub-quantum count of active simulated threads as well as a sub-quantum count of simulated threads waiting for additional quantum grants of time and/or a sub-quantum count of simulated threads waiting for event signals. The quantum-based scheduler may also enable automatic detection of potential deadlock conditions (e.g., where each simulated thread is waiting for event signals).