Loading config

import trueq as tq
import numpy as np

# Load the config file.
config = tq.Config("config.yaml")
# Get a gate as defined in the config file.
config.ms(phi=np.pi / 2)
  • Name:

    • Test.ms
  • Parameters:

    • phi = 1.570796
  • Generators:

    • 'XX': 1.571
  • Matrix:



Total running time of the script: ( 0 minutes 0.086 seconds)

Gallery generated by Sphinx-Gallery