Skip to main content

Module circuit_cache

Module circuit_cache 

Source
Expand description

Circuit caching for repeated execution

This module provides sophisticated caching mechanisms for quantum circuits to avoid redundant compilation, optimization, and execution overhead when circuits are reused across multiple invocations.

Structs§

CacheConfig
Cache configuration
CacheEntry
Cache entry for compiled circuits
CacheManager
High-level cache manager that coordinates different cache types
CacheStats
Cache statistics
CircuitCache
Generic cache implementation with configurable policies
CircuitSignature
Circuit signature for cache key generation
SignatureGenerator
Circuit signature generator for different circuit types

Enums§

EvictionPolicy
Cache eviction policy

Type Aliases§

CompiledCircuitCache
Specialized cache for compiled circuits
ExecutionResultCache
Specialized cache for execution results
TranspilationCache
Specialized cache for transpilation results