Interface
            oqd_trical.light_matter.interface
¶
    
            emulator
¶
    
            AtomicEmulatorCircuit
¶
    
              Bases: TypeReflectBaseModel
Class representing a quantum information experiment represented in terms of atomic operations expressed in terms of their Hamiltonians.
Attributes:
| Name | Type | Description | 
|---|---|---|
frame | 
            
                  Optional[Operator]
             | 
            
               
  | 
          
base | 
            
                  Operator
             | 
            
               Free Hamiltonian.  | 
          
sequence | 
            
                  List[AtomicEmulatorGate]
             | 
            
               List of gates to apply.  | 
          
Source code in src\oqd_trical\light_matter\interface\emulator.py
                
            AtomicEmulatorGate
¶
    
              Bases: TypeReflectBaseModel
Class representing a gate represented in terms of atomic operations expressed in terms of their Hamiltonians.
Attributes:
| Name | Type | Description | 
|---|---|---|
hamiltonian | 
            
                  Operator
             | 
            
               Hamiltonian to evolve by.  | 
          
duration | 
            
                  float
             | 
            
               Time to evolve for.  | 
          
Source code in src\oqd_trical\light_matter\interface\emulator.py
                
            operator
¶
    
            Coefficient
¶
    
              Bases: TypeReflectBaseModel
Class representing a scalar coefficient for an operator.
Source code in src\oqd_trical\light_matter\interface\operator.py
                
            WaveCoefficient
¶
    
              Bases: Coefficient
Class representing a wave coefficient for an operator of the following form: $$ A e^{i(\omega t + \phi)}. $$
Source code in src\oqd_trical\light_matter\interface\operator.py
                
              
            CoefficientAdd
¶
    
              Bases: Coefficient
Class representing the addition of coefficients
Source code in src\oqd_trical\light_matter\interface\operator.py
                
              
            CoefficientMul
¶
    
              Bases: Coefficient
Class representing the multiplication of coefficients
Source code in src\oqd_trical\light_matter\interface\operator.py
                
              
            Operator
¶
    
              Bases: TypeReflectBaseModel
Class representing a quantum operator.
Source code in src\oqd_trical\light_matter\interface\operator.py
                
            OperatorLeaf
¶
    
            KetBra
¶
    
              Bases: OperatorLeaf
Class representing a transition operator: $$ |i \rangle \langle j| $$
Attributes:
| Name | Type | Description | 
|---|---|---|
ket | 
            
                  int
             | 
            
               End state.  | 
          
bra | 
            
                  int
             | 
            
               Start state.  | 
          
Source code in src\oqd_trical\light_matter\interface\operator.py
                
              
            Annihilation
¶
    
            Creation
¶
    
              Bases: OperatorLeaf
Class representing an annihilation operator: $$ \hat{a}^{\dagger} $$
Source code in src\oqd_trical\light_matter\interface\operator.py
                
              
            Displacement
¶
    
              Bases: OperatorLeaf
Class representing a displacement operator: $$ e^{\alpha \hat{a}^{\dagger} - \alpha^* \hat{a}} $$
Attributes:
| Name | Type | Description | 
|---|---|---|
alpha | 
            
                  Coefficient
             | 
            
               Displacement angle.  | 
          
Source code in src\oqd_trical\light_matter\interface\operator.py
                
              
            Identity
¶
    
            OperatorAdd
¶
    
              Bases: Operator
Class representing the addtition of Operators.
Attributes:
| Name | Type | Description | 
|---|---|---|
op1 | 
            
                  Operator
             | 
            
               Left hand side   | 
          
op2 | 
            
                  Operator
             | 
            
               Right hand side   | 
          
Source code in src\oqd_trical\light_matter\interface\operator.py
                
            OperatorMul
¶
    
              Bases: Operator
Class representing the multiplication of Operators.
Attributes:
| Name | Type | Description | 
|---|---|---|
op1 | 
            
                  Operator
             | 
            
               Left hand side   | 
          
op2 | 
            
                  Operator
             | 
            
               Right hand side   | 
          
Source code in src\oqd_trical\light_matter\interface\operator.py
                
            OperatorKron
¶
    
              Bases: Operator
Class representing the tensor product of Operators.
Attributes:
| Name | Type | Description | 
|---|---|---|
op1 | 
            
                  Operator
             | 
            
               Left hand side   | 
          
op2 | 
            
                  Operator
             | 
            
               Right hand side   | 
          
Source code in src\oqd_trical\light_matter\interface\operator.py
                
            OperatorScalarMul
¶
    
              Bases: Operator
Class representing the scalar multiplication of a Coefficient
and an Operator.
Attributes:
| Name | Type | Description | 
|---|---|---|
op | 
            
                  Operator
             | 
            
               
  | 
          
coeff | 
            
                  Coefficient
             | 
            
               
  |