def tls_space(self):
        """
        The two-level-atom's Hilbert space.

        :type: :py:class:`qnet.algebra.hilbert_space_algebra.LocalSpace`
        """
        return local_space("a", make_namespace_string(self.namespace, self.name), basis = ('h', 'g'))
    def fock_space(self):
        """
        The cavity mode's Hilbert space.

        :type: :py:class:`qnet.algebra.hilbert_space_algebra.LocalSpace`
        """
        return local_space("f", make_namespace_string(self.namespace, self.name), dimension = self.FOCK_DIM)
    def tls_space(self):
        """
        The two-level-atom's Hilbert space.

        :type: :py:class:`qnet.algebra.hilbert_space_algebra.LocalSpace`
        """
        return local_space("a", make_namespace_string(self.namespace, self.name), basis = ('h', 'g'))
    def fock_space(self):
        """
        The cavity mode's Hilbert space.

        :type: :py:class:`qnet.algebra.hilbert_space_algebra.LocalSpace`
        """
        return local_space("f", make_namespace_string(self.namespace, self.name), dimension = self.FOCK_DIM)
Exemple #5
0
 def _space(self):
     return local_space(self.name, self.namespace, dimension=self.FOCK_DIM)
Exemple #6
0
 def _space(self):
     return local_space(self.name, self.namespace, basis = ("h", "g"))
 def _space(self):
     return local_space(self.name, self.namespace, basis = ("h", "g"))
Exemple #8
0
 def _space(self):
     return local_space(self.name, self.namespace, basis=('r', 'h', 'g'))
 def _space(self):
     return local_space(self.name, self.namespace, dimension = self.FOCK_DIM)
Exemple #10
0
 def _space(self):
     return local_space(self.name, self.namespace, basis = ('r','h','g'))