guohanghui commited on
Commit
9be538e
·
verified ·
1 Parent(s): a00890d

Update qutip/mcp_output/mcp_plugin/mcp_service.py

Browse files
qutip/mcp_output/mcp_plugin/mcp_service.py CHANGED
@@ -2,15 +2,10 @@ import os
2
  import sys
3
  from typing import List, Optional
4
 
5
- # Add the local source directory to sys.path
6
- source_path = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))), "source")
7
- if source_path not in sys.path:
8
- sys.path.insert(0, source_path)
9
-
10
  from fastmcp import FastMCP
11
  import numpy as np
12
 
13
- # Import QuTiP modules
14
  from qutip import (
15
  # States
16
  basis, fock, fock_dm, coherent, coherent_dm, thermal_dm,
 
2
  import sys
3
  from typing import List, Optional
4
 
 
 
 
 
 
5
  from fastmcp import FastMCP
6
  import numpy as np
7
 
8
+ # Import QuTiP modules (use pip installed version)
9
  from qutip import (
10
  # States
11
  basis, fock, fock_dm, coherent, coherent_dm, thermal_dm,