quantum
quantum copied to clipboard
Duplicate module paths
While not a breaking issue, if a user looks at tfq.layers and then lists all available modules there are two paths to any given layer at the moment:
tfq.layers.AddCircuit( tfq.layers.PQC(
tfq.layers.circuit_construction tfq.layers.Sample(
tfq.layers.circuit_executors tfq.layers.SampledExpectation(
tfq.layers.ControlledPQC( tfq.layers.State(
tfq.layers.Expectation( tfq.layers.Unitary(
tfq.layers.high_level
One could go PQC
and high_level.PQC
. This should be a quick fix.
This issue has not had any activity in a month. Is it stale ?
For reference the issues we currently have are:
differentiators
show modules
layers
show module
util
shows module
What command to run to see the duplicate paths? When I run dir(tfq.layers)
I get
['AddCircuit',
'ControlledPQC',
'Expectation',
'NoisyControlledPQC',
'NoisyPQC',
'PQC',
'Sample',
'SampledExpectation',
'State',
'Unitary',
'__builtins__',
'__cached__',
'__doc__',
'__file__',
'__loader__',
'__name__',
'__package__',
'__path__',
'__spec__',
'circuit_construction',
'circuit_executors',
'high_level']
Is this issue referencing the fact that hight_level
is present in this list?