コード例 #1
0
    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'))
コード例 #2
0
    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)
コード例 #3
0
    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'))
コード例 #4
0
    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)
コード例 #5
0
 def _space(self):
     return local_space(self.name, self.namespace, dimension=self.FOCK_DIM)
コード例 #6
0
ファイル: relay_cc.py プロジェクト: mabuchilab/QNET
 def _space(self):
     return local_space(self.name, self.namespace, basis = ("h", "g"))
コード例 #7
0
ファイル: relay_double_probe_cc.py プロジェクト: mbhatt1/QNET
 def _space(self):
     return local_space(self.name, self.namespace, basis = ("h", "g"))
コード例 #8
0
 def _space(self):
     return local_space(self.name, self.namespace, basis=('r', 'h', 'g'))
コード例 #9
0
 def _space(self):
     return local_space(self.name, self.namespace, dimension = self.FOCK_DIM)
コード例 #10
0
ファイル: z_probe_cavity_cc.py プロジェクト: mabuchilab/QNET
 def _space(self):
     return local_space(self.name, self.namespace, basis = ('r','h','g'))