metadata_save

forest.benchmarking.utils.metadata_save(qc: pyquil.api._quantum_computer.QuantumComputer, repo_path: str = None, filename: str = None) → pandas.core.frame.DataFrame

This helper function saves metadata related to your run on a Quantum computer.

Basic data saved includes the date and time. Additionally information related to the quantum computer is saved: device name, topology, qubit labels, edges that have two qubit gates, device specs

If a path is passed to this function information related to the Git Repository is saved, specifically the repository: name, branch and commit.

Parameters:
  • qc – The QuantumComputer to run the experiment on.
  • repo_path – path to repository e.g. ‘../’
  • filename – The name of the file to write JSON-serialized results to.
Returns:

pandas DataFrame