XanaduAI / strawberryfields

Strawberry Fields is a full-stack Python library for designing, simulating, and optimizing continuous variable (CV) quantum optical circuits.
https://strawberryfields.ai
Apache License 2.0
754 stars 191 forks source link

Change default hostname #309

Closed antalszava closed 4 years ago

antalszava commented 4 years ago

Context: Currently "localhost" is set as a default hostname in Strawberry Fields. This requires the user to change it each time they want to connect to the Xanadu cloud platform.

Description of the Change: Making "platform.strawberryfields.ai" as the default hostname, such that users can simply just run sf.store_account(AUTH_TOKEN) when connecting the Xanadu cloud platform.

Benefits: Less configuration is needed.

Possible Drawbacks: N/A

Related GitHub Issues: N/A

codecov[bot] commented 4 years ago

Codecov Report

Merging #309 into demo will increase coverage by 0.37%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             demo     #309      +/-   ##
==========================================
+ Coverage   97.37%   97.74%   +0.37%     
==========================================
  Files          49       49              
  Lines        6213     6172      -41     
==========================================
- Hits         6050     6033      -17     
+ Misses        163      139      -24     
Impacted Files Coverage Δ
strawberryfields/configuration.py 100.00% <0.00%> (+20.33%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ff1e16d...e1c321c. Read the comment docs.