Skip to main content

QuantumCapability

Struct QuantumCapability 

Source
pub struct QuantumCapability<const P: usize, const Q: usize, const R: usize> {
    pub capability: Capability,
    pub k_class: QuantumKClass<P, Q, R>,
}
Expand description

A capability enhanced with quantum K-theory data

While a standard Capability uses a Schubert class (cohomological), a QuantumCapability additionally carries a K-theory class representing the “sheaf of sections” of the capability bundle over the Grassmannian.

This enables:

  • Quantum corrections: Capabilities that interact through rational curve contributions (analogous to quantum entanglement in the namespace lattice)
  • Euler characteristic counting: chi(E) gives a refined count of valid configurations weighted by sheaf cohomology
  • Adams operations: psi^k acts on capabilities, modeling “k-fold amplification” of access rights

§Contract

invariant: self.capability.schubert_class == classical limit of self.k_class

Fields§

§capability: Capability

Classical capability (Schubert class)

§k_class: QuantumKClass<P, Q, R>

Quantum K-theory class (sheaf data)

Implementations§

Source§

impl<const P: usize, const Q: usize, const R: usize> QuantumCapability<P, Q, R>

Source

pub fn from_classical(capability: Capability) -> Self

Create a quantum capability from a classical one

The K-theory class defaults to the structure sheaf of the Schubert variety.

Source

pub fn new(capability: Capability, k_class: QuantumKClass<P, Q, R>) -> Self

Create with explicit K-theory data

Source

pub fn quantum_entangle( &self, other: &Self, ) -> EnumerativeResult<QuantumKClass<P, Q, R>>

Quantum product of two capabilities

Returns the entangled capability with quantum corrections from rational curves connecting the two Schubert varieties.

§Contract
ensures: result.q_power >= self.k_class.q_power + other.k_class.q_power
Source

pub fn euler_characteristic(&self, ambient_dimension: usize) -> Rational64

Euler characteristic: refined configuration count

While the classical count_configurations gives the intersection number, this gives chi(E) = integral ch(E) * td(X), which accounts for higher cohomology.

§Contract
ensures: result == self.k_class.euler_characteristic(ambient_dimension)
Source

pub fn amplify(&self, k: i32) -> Self

Adams amplification: psi^k acts on the capability

Models “k-fold amplification” of the access right. psi^k preserves the underlying Schubert class but modifies the K-theoretic refinement.

§Contract
ensures: result.capability == self.capability  (Schubert class unchanged)
ensures: result.k_class == psi^k(self.k_class)

Trait Implementations§

Source§

impl<const P: usize, const Q: usize, const R: usize> Clone for QuantumCapability<P, Q, R>

Source§

fn clone(&self) -> QuantumCapability<P, Q, R>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<const P: usize, const Q: usize, const R: usize> Debug for QuantumCapability<P, Q, R>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<const P: usize, const Q: usize, const R: usize> Freeze for QuantumCapability<P, Q, R>

§

impl<const P: usize, const Q: usize, const R: usize> RefUnwindSafe for QuantumCapability<P, Q, R>

§

impl<const P: usize, const Q: usize, const R: usize> Send for QuantumCapability<P, Q, R>

§

impl<const P: usize, const Q: usize, const R: usize> Sync for QuantumCapability<P, Q, R>

§

impl<const P: usize, const Q: usize, const R: usize> Unpin for QuantumCapability<P, Q, R>

§

impl<const P: usize, const Q: usize, const R: usize> UnsafeUnpin for QuantumCapability<P, Q, R>

§

impl<const P: usize, const Q: usize, const R: usize> UnwindSafe for QuantumCapability<P, Q, R>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.