logosq-os-scheduler

Crates.iologosq-os-scheduler
lib.rslogosq-os-scheduler
version0.1.0
created_at2026-01-20 20:25:05.038069+00
updated_at2026-01-20 20:25:05.038069+00
descriptionQuantum-classical task scheduler for LogosQ Quantum OS
homepage
repositoryhttps://github.com/WeaveITMeta/LogosQ-OS-Scheduler
max_upload_size
id2057490
size89,708
Weave (WeaveITMeta)

documentation

https://docs.rs/logosq-os-scheduler

README

LogosQ OS Scheduler

A hybrid quantum-classical task scheduler for the LogosQ Quantum Operating System.

Features

  • Hybrid scheduling: Interleave quantum circuits with classical computations
  • Priority queues: Configurable task priorities with preemption
  • Backend routing: Automatic routing to optimal quantum backends
  • No GIL: True parallelism via Rust's async runtime
  • OS integration: Compatible with Redox OS and embedded systems

Quick Start

use logosq_os_scheduler::{QuantumScheduler, Task, TaskPriority};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let scheduler = QuantumScheduler::new(4)?;
    
    let task = Task::quantum("bell_state")
        .with_priority(TaskPriority::High)
        .build();
    
    let handle = scheduler.submit(task).await?;
    let result = handle.wait().await?;
    
    Ok(())
}

Installation

[dependencies]
logosq-os-scheduler = "0.1"
tokio = { version = "1.35", features = ["full"] }

License

MIT OR Apache-2.0

Commit count: 1

cargo fmt