Skip to main content

Module qpu_oracle

Module qpu_oracle 

Source
Expand description

Person-controlled QPU Oracle — BYOK remote quantum offload for NP-hard tasks.

API keys are encrypted at rest via KeyVault-derived material. Only anonymized numeric matrices (QUBO / VQE parameter vectors) may egress; classified data is blocked by the Sentinel before any HTTP dispatch.

§Activation

The QPU Oracle requires the user to affirm the Universal Human Rights commitment before any remote QPU egress is permitted. The commitment code is: SSBBZmZpcm0gTXkgQ29tbWl0bWVudCB0byBVbml2ZXJzYWwgSHVtYW4gUmlnaHRz (base64 for “I Affirm My Commitment to Universal Human Rights”)

Structs§

QpuChatCommandResult
QpuOracleSettings
Public settings view returned to the desktop UI.
QpuOracleSettingsInput
Input from the UI for saving settings.
QpuOracleState
QpuProviderStatus
Per-provider status returned to the frontend — no raw tokens exposed.

Enums§

QpuArchitecture
QpuProvider
All supported QPU providers.

Functions§

activate_with_commitment
Activate advanced capabilities by affirming the Universal Human Rights commitment.
disable_qpu_feature
enable_qpu_feature
get_qpu_settings
handle_qpu_chat_command
Intercept hidden chat commands before LLM inference.
is_qpu_feature_unlocked
record_provider_usage
record_usage
resolve_azure_credentials
Returns (subscription_id, resource_group, workspace, api_key) if configured.
resolve_braket_credentials
Returns (access_key_id, secret_access_key, region) if configured.
resolve_dwave_token
resolve_google_token
resolve_ibm_token
resolve_ionq_token
resolve_quantinuum_token
resolve_rigetti_token
save_qpu_settings
select_provider
Returns the best available provider for a given task, preferring remote QPU.
target_architecture
to_public_settings
verify_commitment
Verifies that input matches the Universal Human Rights commitment text. Accepts both the plain English text and the base64 form.